Click here to Skip to main content
15,911,360 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Executing a WPF .exe program from an email link Pin
Gerry Schmitz7-Aug-16 12:16
mveGerry Schmitz7-Aug-16 12:16 
QuestionResourceDictionary swapped at run-time only applies to MainWindow Pin
Imagiv5-Aug-16 6:51
Imagiv5-Aug-16 6:51 
AnswerRe: ResourceDictionary swapped at run-time only applies to MainWindow Pin
Richard Deeming5-Aug-16 7:02
mveRichard Deeming5-Aug-16 7:02 
GeneralRe: ResourceDictionary swapped at run-time only applies to MainWindow Pin
Imagiv5-Aug-16 7:18
Imagiv5-Aug-16 7:18 
QuestionKeepTextBoxDisplaySynchronizedWithTextProperty Pin
Kevin Marois28-Jul-16 7:18
professionalKevin Marois28-Jul-16 7:18 
AnswerRe: KeepTextBoxDisplaySynchronizedWithTextProperty Pin
Matt T Heffron28-Jul-16 7:33
professionalMatt T Heffron28-Jul-16 7:33 
GeneralRe: KeepTextBoxDisplaySynchronizedWithTextProperty Pin
Kevin Marois28-Jul-16 7:39
professionalKevin Marois28-Jul-16 7:39 
QuestionCreating a line break to keep visible tabitems from wrapping when other tabitems become visible. Pin
Stephen Holdorf28-Jul-16 3:16
Stephen Holdorf28-Jul-16 3:16 
AnswerRe: Creating a line break to keep visible tabitems from wrapping when other tabitems become visible. Pin
Stephen Holdorf28-Jul-16 14:41
Stephen Holdorf28-Jul-16 14:41 
QuestionDP not Working Pin
Kevin Marois27-Jul-16 8:01
professionalKevin Marois27-Jul-16 8:01 
AnswerRe: DP not Working Pin
Gerry Schmitz27-Jul-16 15:44
mveGerry Schmitz27-Jul-16 15:44 
GeneralRe: DP not Working Pin
Kevin Marois27-Jul-16 16:38
professionalKevin Marois27-Jul-16 16:38 
AnswerRe: DP not Working Pin
PureNsanity28-Jul-16 12:50
professionalPureNsanity28-Jul-16 12:50 
GeneralRe: DP not Working Pin
Kevin Marois28-Jul-16 13:29
professionalKevin Marois28-Jul-16 13:29 
GeneralRe: DP not Working Pin
PureNsanity28-Jul-16 13:51
professionalPureNsanity28-Jul-16 13:51 
GeneralRe: DP not Working Pin
Kevin Marois28-Jul-16 14:14
professionalKevin Marois28-Jul-16 14:14 
SuggestionRe: DP not Working Pin
Richard Deeming29-Jul-16 2:11
mveRichard Deeming29-Jul-16 2:11 
GeneralRe: DP not Working Pin
Richard Deeming29-Jul-16 2:12
mveRichard Deeming29-Jul-16 2:12 
GeneralRe: DP not Working Pin
PureNsanity29-Jul-16 3:47
professionalPureNsanity29-Jul-16 3:47 
AnswerRe: DP not Working Pin
Meshack Musundi2-Aug-16 22:33
professionalMeshack Musundi2-Aug-16 22:33 
QuestionScrolling data table area on a XAML page Pin
Stephen Holdorf26-Jul-16 13:41
Stephen Holdorf26-Jul-16 13:41 
AnswerRe: Scrolling data table area on a XAML page Pin
Mycroft Holmes26-Jul-16 14:32
professionalMycroft Holmes26-Jul-16 14:32 
GeneralRe: Scrolling data table area on a XAML page Pin
Stephen Holdorf27-Jul-16 0:31
Stephen Holdorf27-Jul-16 0:31 
GeneralRe: Scrolling data table area on a XAML page Pin
Mycroft Holmes27-Jul-16 12:44
professionalMycroft Holmes27-Jul-16 12:44 
QuestionWhere to call OnPropertyChanged Pin
Bernhard Hiller25-Jul-16 21:47
Bernhard Hiller25-Jul-16 21:47 
With WPF and MVVM, properties of the ViewModel are bound to UI elements. When a property changes, its set accessor calls OnPropertyChanged which in turn raises the PropertyChanged event of the INotifyProptyChanged interface.
But it is possible to call OnPropertyChanged (with the property name as argument) from anywhere in the ViewModel (and then you can't use the CallerMemberName attribute).
Now I'd like to ask you: how do you handle such cases? Do you call OnPropertyChanged from other places than the property_set? Or do you change your code such that you call the property_set? Or other ideas?

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.