Click here to Skip to main content
15,891,607 members
Home / Discussions / WPF
   

WPF

 
QuestionHow to create a listview with multiple datatemplates Pin
Member 324168819-Oct-10 10:30
Member 324168819-Oct-10 10:30 
QuestionHow to change image\parameters on style definition ? Pin
Yanshof18-Oct-10 21:52
Yanshof18-Oct-10 21:52 
AnswerRe: How to change image\parameters on style definition ? Pin
Abhinav S19-Oct-10 3:55
Abhinav S19-Oct-10 3:55 
Questioncombo box items are not going up/down from keyboard arrow keys. Pin
SRKSHOME17-Oct-10 23:13
SRKSHOME17-Oct-10 23:13 
QuestionWPF MVVM design time data? Pin
SledgeHammer0117-Oct-10 19:42
SledgeHammer0117-Oct-10 19:42 
AnswerRe: WPF MVVM design time data? Pin
SledgeHammer0117-Oct-10 20:03
SledgeHammer0117-Oct-10 20:03 
QuestionA few newb MVVM (WPF) questions... Pin
SledgeHammer0117-Oct-10 16:53
SledgeHammer0117-Oct-10 16:53 
AnswerRe: A few newb MVVM (WPF) questions... Pin
Abhinav S17-Oct-10 18:17
Abhinav S17-Oct-10 18:17 
1) If there are certain situations you dont want the command to execute, the command should have a CanExecute property which can be set.

2) You achieve this through binding the enabled property of the command button to a property in your view model. This property should implement INotifyPropertyChanged. This property is then set to false triggering an INotify which will disable the button.

Hope this makes sesnse. Smile | :)
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.


My latest tip/trick

Visit the Hindi forum here.

modified on Monday, October 18, 2010 3:01 AM

AnswerRe: A few newb MVVM (WPF) questions... Pin
Mycroft Holmes17-Oct-10 23:40
professionalMycroft Holmes17-Oct-10 23:40 
AnswerRe: A few newb MVVM (WPF) questions... Pin
Pete O'Hanlon18-Oct-10 0:32
mvePete O'Hanlon18-Oct-10 0:32 
GeneralRe: A few newb MVVM (WPF) questions... Pin
SledgeHammer0118-Oct-10 7:57
SledgeHammer0118-Oct-10 7:57 
GeneralRe: A few newb MVVM (WPF) questions... Pin
Pete O'Hanlon18-Oct-10 9:55
mvePete O'Hanlon18-Oct-10 9:55 
GeneralRe: A few newb MVVM (WPF) questions... Pin
SledgeHammer0118-Oct-10 10:37
SledgeHammer0118-Oct-10 10:37 
GeneralRe: A few newb MVVM (WPF) questions... Pin
Pete O'Hanlon19-Oct-10 2:18
mvePete O'Hanlon19-Oct-10 2:18 
AnswerRe: A few newb MVVM (WPF) questions... Pin
si61821-Oct-10 19:33
si61821-Oct-10 19:33 
AnswerRe: A few newb MVVM (WPF) questions... [SOLUTION] Pin
AndrewSmith22-Oct-10 17:08
AndrewSmith22-Oct-10 17:08 
QuestionConnect silverlight project to web project. Pin
dbrenth15-Oct-10 10:55
dbrenth15-Oct-10 10:55 
AnswerRe: Connect silverlight project to web project. Pin
Abhinav S15-Oct-10 18:41
Abhinav S15-Oct-10 18:41 
QuestionDynamically instantiate UserControl, try to find which UserControl fired an event in an event Handler? Pin
Jean DUSUD14-Oct-10 11:38
Jean DUSUD14-Oct-10 11:38 
AnswerRe: Dynamically instantiate UserControl, try to find which UserControl fired an event in an event Handler? Pin
Abhinav S14-Oct-10 17:24
Abhinav S14-Oct-10 17:24 
AnswerRe: Dynamically instantiate UserControl, try to find which UserControl fired an event in an event Handler? Pin
#realJSOP15-Oct-10 9:04
mve#realJSOP15-Oct-10 9:04 
GeneralRe: Dynamically instantiate UserControl, try to find which UserControl fired an event in an event Handler? Pin
Jean DUSUD18-Oct-10 11:00
Jean DUSUD18-Oct-10 11:00 
QuestionDataGrid SelectionChanged event is firing only on first row selected. Pin
Member 392066714-Oct-10 4:56
Member 392066714-Oct-10 4:56 
AnswerRe: DataGrid SelectionChanged event is firing only on first row selected. Pin
torken214-Oct-10 20:37
professionaltorken214-Oct-10 20:37 
QuestionReportViewer does not export PDF for wingdings fonts Pin
ausadmin12-Oct-10 11:15
ausadmin12-Oct-10 11:15 

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.