Click here to Skip to main content
15,170,343 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Executing a WPF .exe program from an email link Pin
Gerry Schmitz6-Aug-16 8:07
mveGerry Schmitz6-Aug-16 8:07 
GeneralRe: Executing a WPF .exe program from an email link Pin
holdorf7-Aug-16 12:26
Memberholdorf7-Aug-16 12:26 
GeneralRe: Executing a WPF .exe program from an email link Pin
Gerry Schmitz7-Aug-16 13:16
mveGerry Schmitz7-Aug-16 13:16 
QuestionResourceDictionary swapped at run-time only applies to MainWindow Pin
James A. Young5-Aug-16 7:51
MemberJames A. Young5-Aug-16 7:51 
AnswerRe: ResourceDictionary swapped at run-time only applies to MainWindow Pin
Richard Deeming5-Aug-16 8:02
mveRichard Deeming5-Aug-16 8:02 
GeneralRe: ResourceDictionary swapped at run-time only applies to MainWindow Pin
James A. Young5-Aug-16 8:18
MemberJames A. Young5-Aug-16 8:18 
QuestionKeepTextBoxDisplaySynchronizedWithTextProperty Pin
Kevin Marois28-Jul-16 8:18
professionalKevin Marois28-Jul-16 8:18 
AnswerRe: KeepTextBoxDisplaySynchronizedWithTextProperty Pin
Matt T Heffron28-Jul-16 8:33
professionalMatt T Heffron28-Jul-16 8:33 
I've never used it but it looks like it is referring not to the Text property of the TextBox, but to the source that is data bound to the Text property.
From looking at the code it appears it has to do with an edge case where the TextBox is pushing a change back to the binding source but may not notice if the binding source has modified that string.
C#
// when Text is data-bound, _newTextValue is converted from a
// deferred reference to a string.  The binding writes the string
// back to the source, then computes a new value for Text (which
// may be different, either because the source normalizes the value
// or because of conversion and formatting).  Usually this raises
// a change notification for Text, which brings the Text property and
// the text container into [....].  But this doesn't happen in one
// case:  when the normalized value is the same as the original
// value for Text.  The property engine thinks that Text hasn't
// changed, and doesn't raise the notification.  It's true that
// Text hasn't changed, but we still need to update the text container,
// which now displays the wrong value.
// We detect that case by checking whether _newTextValue (the
// text container value) agrees with Text.

"Fairy tales do not tell children the dragons exist. Children already know that dragons exist. Fairy tales tell children the dragons can be killed."
- G.K. Chesterton

GeneralRe: KeepTextBoxDisplaySynchronizedWithTextProperty Pin
Kevin Marois28-Jul-16 8:39
professionalKevin Marois28-Jul-16 8:39 
QuestionCreating a line break to keep visible tabitems from wrapping when other tabitems become visible. Pin
holdorf28-Jul-16 4:16
Memberholdorf28-Jul-16 4:16 
AnswerRe: Creating a line break to keep visible tabitems from wrapping when other tabitems become visible. Pin
holdorf28-Jul-16 15:41
Memberholdorf28-Jul-16 15:41 
QuestionDP not Working Pin
Kevin Marois27-Jul-16 9:01
professionalKevin Marois27-Jul-16 9:01 
AnswerRe: DP not Working Pin
Gerry Schmitz27-Jul-16 16:44
mveGerry Schmitz27-Jul-16 16:44 
GeneralRe: DP not Working Pin
Kevin Marois27-Jul-16 17:38
professionalKevin Marois27-Jul-16 17:38 
AnswerRe: DP not Working Pin
PureNsanity28-Jul-16 13:50
professionalPureNsanity28-Jul-16 13:50 
GeneralRe: DP not Working Pin
Kevin Marois28-Jul-16 14:29
professionalKevin Marois28-Jul-16 14:29 
GeneralRe: DP not Working Pin
PureNsanity28-Jul-16 14:51
professionalPureNsanity28-Jul-16 14:51 
GeneralRe: DP not Working Pin
Kevin Marois28-Jul-16 15:14
professionalKevin Marois28-Jul-16 15:14 
SuggestionRe: DP not Working Pin
Richard Deeming29-Jul-16 3:11
mveRichard Deeming29-Jul-16 3:11 
GeneralRe: DP not Working Pin
Richard Deeming29-Jul-16 3:12
mveRichard Deeming29-Jul-16 3:12 
GeneralRe: DP not Working Pin
PureNsanity29-Jul-16 4:47
professionalPureNsanity29-Jul-16 4:47 
AnswerRe: DP not Working Pin
Meshack Musundi2-Aug-16 23:33
professionalMeshack Musundi2-Aug-16 23:33 
QuestionScrolling data table area on a XAML page Pin
holdorf26-Jul-16 14:41
Memberholdorf26-Jul-16 14:41 
AnswerRe: Scrolling data table area on a XAML page Pin
Mycroft Holmes26-Jul-16 15:32
professionalMycroft Holmes26-Jul-16 15:32 
GeneralRe: Scrolling data table area on a XAML page Pin
holdorf27-Jul-16 1:31
Memberholdorf27-Jul-16 1:31 

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.