Click here to Skip to main content
15,867,453 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: c# WPF MVVM accesing a view with from another view Pin
Richard Deeming17-Jan-17 8:40
mveRichard Deeming17-Jan-17 8:40 
GeneralRe: c# WPF MVVM accesing a view with from another view Pin
Member 1288059517-Jan-17 8:52
Member 1288059517-Jan-17 8:52 
QuestionBind To Static Property Pin
Kevin Marois13-Jan-17 5:32
professionalKevin Marois13-Jan-17 5:32 
AnswerRe: Bind To Static Property Pin
Richard Deeming13-Jan-17 5:55
mveRichard Deeming13-Jan-17 5:55 
GeneralRe: Bind To Static Property Pin
Kevin Marois13-Jan-17 6:01
professionalKevin Marois13-Jan-17 6:01 
GeneralRe: Bind To Static Property Pin
Richard Deeming13-Jan-17 7:49
mveRichard Deeming13-Jan-17 7:49 
GeneralRe: Bind To Static Property Pin
Kevin Marois13-Jan-17 7:56
professionalKevin Marois13-Jan-17 7:56 
GeneralRe: Bind To Static Property Pin
Richard Deeming13-Jan-17 8:18
mveRichard Deeming13-Jan-17 8:18 
It's probably the x:Static markup extension. Try changing the binding to:
<TextBlock Text="{Binding Path=(local:AppCore.CurrentUser.FullName), Mode=TwoWay}"/>

WPF 4.5: Binding and change notification for static properties - Pete Brown's 10rem.net[^]

EDIT: This blog seems to confirm it:

It does not work with the x:Static extension




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: Bind To Static Property Pin
Kevin Marois13-Jan-17 8:23
professionalKevin Marois13-Jan-17 8:23 
GeneralRe: Bind To Static Property Pin
Richard Deeming13-Jan-17 8:24
mveRichard Deeming13-Jan-17 8:24 
GeneralRe: Bind To Static Property Pin
Kevin Marois13-Jan-17 8:25
professionalKevin Marois13-Jan-17 8:25 
GeneralRe: Bind To Static Property Pin
Richard Deeming13-Jan-17 8:29
mveRichard Deeming13-Jan-17 8:29 
GeneralRe: Bind To Static Property Pin
Kevin Marois13-Jan-17 8:31
professionalKevin Marois13-Jan-17 8:31 
QuestionWPF/MVVM - How To Make A Chess Board Pin
Kevin Marois20-Dec-16 6:13
professionalKevin Marois20-Dec-16 6:13 
AnswerRe: WPF/MVVM - How To Make A Chess Board Pin
Meshack Musundi26-Dec-16 19:26
professionalMeshack Musundi26-Dec-16 19:26 
QuestionMetroTabItem View Going out of Scope Pin
JPKI13-Dec-16 12:59
JPKI13-Dec-16 12:59 
AnswerRe: MetroTabItem View Going out of Scope Pin
Pete O'Hanlon13-Dec-16 20:50
subeditorPete O'Hanlon13-Dec-16 20:50 
GeneralRe: MetroTabItem View Going out of Scope Pin
JPKI13-Dec-16 22:14
JPKI13-Dec-16 22:14 
GeneralRe: MetroTabItem View Going out of Scope Pin
JPKI15-Dec-16 8:33
JPKI15-Dec-16 8:33 
QuestionUserControl Pin
Kevin Marois5-Dec-16 11:02
professionalKevin Marois5-Dec-16 11:02 
AnswerRe: UserControl Pin
Jon McKee5-Dec-16 11:12
professionalJon McKee5-Dec-16 11:12 
GeneralRe: UserControl Pin
Kevin Marois5-Dec-16 11:22
professionalKevin Marois5-Dec-16 11:22 
GeneralRe: UserControl Pin
Jon McKee5-Dec-16 11:40
professionalJon McKee5-Dec-16 11:40 
GeneralRe: UserControl Pin
Kevin Marois5-Dec-16 11:46
professionalKevin Marois5-Dec-16 11:46 
GeneralRe: UserControl Pin
Jon McKee5-Dec-16 11:56
professionalJon McKee5-Dec-16 11:56 

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.