Click here to Skip to main content
15,916,683 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: WPF Combobox background color Pin
Mycroft Holmes22-Jun-13 13:43
professionalMycroft Holmes22-Jun-13 13:43 
GeneralRe: WPF Combobox background color Pin
Saksida Bojan22-Jun-13 20:43
Saksida Bojan22-Jun-13 20:43 
GeneralRe: WPF Combobox background color Pin
Mycroft Holmes22-Jun-13 21:48
professionalMycroft Holmes22-Jun-13 21:48 
GeneralRe: WPF Combobox background color Pin
Saksida Bojan22-Jun-13 23:09
Saksida Bojan22-Jun-13 23:09 
AnswerRe: WPF Combobox background color Pin
Abhinav S22-Jun-13 18:36
Abhinav S22-Jun-13 18:36 
GeneralRe: WPF Combobox background color Pin
Saksida Bojan22-Jun-13 20:46
Saksida Bojan22-Jun-13 20:46 
GeneralRe: WPF Combobox background color Pin
Abhinav S23-Jun-13 17:29
Abhinav S23-Jun-13 17:29 
QuestionCan attached behaviors have knowledge of ViewModels? Pin
sthotakura21-Jun-13 6:29
sthotakura21-Jun-13 6:29 
Someone at work coded an attached behavior and it has code like this.

C#
if (dataSource.GetType() == typeof(TypeA))
    ((TypeA)dataSource).PropertyXYZ.MethodOne();
else if (dataSource.GetType() == typeof(TypeB))
    ((TypeB)dataSource).MethodOne();
else if (dataSource.GetType() == typeof(TypeC))
    ((TypeC)dataSource).MethodOne();


In this schenario, is it Okay for attached behaviours to have knowledge of viewModels or Is it best to extract an interface/base type out and act on that?
Cheers,
Suresh

AnswerRe: Can attached behaviors have knowledge of ViewModels? Pin
Abhinav S22-Jun-13 18:32
Abhinav S22-Jun-13 18:32 
GeneralRe: Can attached behaviors have knowledge of ViewModels? Pin
sthotakura25-Jun-13 3:47
sthotakura25-Jun-13 3:47 
QuestionButton disables when bind command Pin
maxRazar20-Jun-13 18:27
maxRazar20-Jun-13 18:27 
AnswerRe: Button disables when bind command Pin
Pete O'Hanlon20-Jun-13 20:21
mvePete O'Hanlon20-Jun-13 20:21 
QuestionError in Wpf Pin
Nick_Frenk16-Jun-13 21:57
Nick_Frenk16-Jun-13 21:57 
AnswerRe: Error in Wpf Pin
Pete O'Hanlon16-Jun-13 23:20
mvePete O'Hanlon16-Jun-13 23:20 
GeneralRe: Error in Wpf Pin
Nick_Frenk17-Jun-13 0:03
Nick_Frenk17-Jun-13 0:03 
GeneralRe: Error in Wpf Pin
Richard MacCutchan17-Jun-13 0:25
mveRichard MacCutchan17-Jun-13 0:25 
GeneralRe: Error in Wpf Pin
Nick_Frenk17-Jun-13 0:38
Nick_Frenk17-Jun-13 0:38 
GeneralRe: Error in Wpf Pin
Richard MacCutchan17-Jun-13 0:57
mveRichard MacCutchan17-Jun-13 0:57 
QuestionMove datatable/set between multiple wpf windows Pin
Member 989260614-Jun-13 4:57
Member 989260614-Jun-13 4:57 
AnswerRe: Move datatable/set between multiple wpf windows Pin
Mycroft Holmes18-Jun-13 23:21
professionalMycroft Holmes18-Jun-13 23:21 
GeneralRe: Move datatable/set between multiple wpf windows Pin
Member 989260619-Jun-13 9:51
Member 989260619-Jun-13 9:51 
QuestionReorder the columns in a data grid Pin
columbos1492713-Jun-13 4:26
columbos1492713-Jun-13 4:26 
AnswerRe: Reorder the columns in a data grid Pin
Mycroft Holmes18-Jun-13 23:13
professionalMycroft Holmes18-Jun-13 23:13 
QuestionSilverlight Charts Pin
swatibahl0412-Jun-13 19:56
swatibahl0412-Jun-13 19:56 
AnswerRe: Silverlight Charts Pin
Abhinav S12-Jun-13 20:49
Abhinav S12-Jun-13 20:49 

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.