Click here to Skip to main content
15,884,176 members
Home / Discussions / C#
   

C#

 
QuestionDo you know any good unit testing and mocking frameworks for C#? Pin
JamesRichmond31-Dec-17 23:49
JamesRichmond31-Dec-17 23:49 
AnswerRe: Do you know any good unit testing and mocking frameworks for C#? Pin
jschell1-Jan-18 6:48
jschell1-Jan-18 6:48 
AnswerRe: Do you know any good unit testing and mocking frameworks for C#? Pin
Pete O'Hanlon1-Jan-18 9:29
mvePete O'Hanlon1-Jan-18 9:29 
AnswerRe: Do you know any good unit testing and mocking frameworks for C#? Pin
Alex Schunk8-Jan-18 7:10
Alex Schunk8-Jan-18 7:10 
Questiondownload pdf from pdfdrive.net Pin
Arnav Das31-Dec-17 20:38
Arnav Das31-Dec-17 20:38 
AnswerRe: download pdf from pdfdrive.net PinPopular
OriginalGriff31-Dec-17 20:46
mveOriginalGriff31-Dec-17 20:46 
QuestionDisabling ComboBox control item in DataTemplate Pin
Hervend31-Dec-17 4:00
Hervend31-Dec-17 4:00 
AnswerRe: Disabling ComboBox control item in DataTemplate Pin
Gerry Schmitz1-Jan-18 7:25
mveGerry Schmitz1-Jan-18 7:25 
You said you want to "disable" the combo box "item" ...

You can't disable "items"; you can only handle / not handle them explicitly.

As for "controls", add a bool "Enabled" property to the code-behind / view-model that has GET logic related the treatment and is bound to the .IsEnabled property of the control (i.e. combo) in the XAML.
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal

AnswerRe: Disabling ComboBox control item in DataTemplate Pin
Gerry Schmitz3-Jan-18 6:01
mveGerry Schmitz3-Jan-18 6:01 
QuestionHow can I get my if-statements to work for my bmi caculator? C# Pin
Member 1360085430-Dec-17 19:23
Member 1360085430-Dec-17 19:23 
AnswerRe: How can I get my if-statements to work for my bmi caculator? C# Pin
Thomas Daniels30-Dec-17 20:48
mentorThomas Daniels30-Dec-17 20:48 
Questionuser settings on a server C# Pin
Member 1342240130-Dec-17 9:43
Member 1342240130-Dec-17 9:43 
AnswerRe: user settings on a server C# Pin
Dave Kreskowiak30-Dec-17 12:21
mveDave Kreskowiak30-Dec-17 12:21 
AnswerRe: user settings on a server C# Pin
Gerry Schmitz1-Jan-18 7:37
mveGerry Schmitz1-Jan-18 7:37 
Questionobject location Pin
Member 1296407930-Dec-17 7:58
Member 1296407930-Dec-17 7:58 
AnswerRe: object location Pin
Dave Kreskowiak30-Dec-17 12:15
mveDave Kreskowiak30-Dec-17 12:15 
QuestionMessage Closed Pin
30-Dec-17 3:27
Jason132330-Dec-17 3:27 
AnswerRe: Difference between String and StringBuilder? Pin
OriginalGriff30-Dec-17 4:29
mveOriginalGriff30-Dec-17 4:29 
AnswerRe: Difference between String and StringBuilder? Pin
Gerry Schmitz30-Dec-17 6:10
mveGerry Schmitz30-Dec-17 6:10 
QuestionHow to access a datagrid control (on a parent window) from a child window in wpf c# Pin
Hervend29-Dec-17 7:23
Hervend29-Dec-17 7:23 
AnswerRe: How to access a datagrid control (on a parent window) from a child window in wpf c# Pin
Dave Kreskowiak29-Dec-17 8:59
mveDave Kreskowiak29-Dec-17 8:59 
AnswerRe: How to access a datagrid control (on a parent window) from a child window in wpf c# Pin
Mycroft Holmes29-Dec-17 11:46
professionalMycroft Holmes29-Dec-17 11:46 
AnswerRe: How to access a datagrid control (on a parent window) from a child window in wpf c# Pin
Gerry Schmitz30-Dec-17 6:04
mveGerry Schmitz30-Dec-17 6:04 
GeneralRe: How to access a datagrid control (on a parent window) from a child window in wpf c# Pin
Hervend30-Dec-17 6:31
Hervend30-Dec-17 6:31 
QuestionWhat's the deal with Span<T> & Memory<T>? Pin
swampwiz28-Dec-17 22:06
swampwiz28-Dec-17 22:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.