Bind value between control in different view -- WPF / MVVM

Posted by Tchoupi on Stack Overflow See other posts from Stack Overflow or by Tchoupi
Published on 2010-05-08T15:40:34Z Indexed on 2010/05/08 15:48 UTC
Read the original article Hit count: 175

Filed under:
|
|

Hello! in my MVVM application (in wpf) i have two view and I want to bind the context of my label on my textbox value (in the other view)

SelectorView.xaml contain this control: <TextBox x:Name="tbArt" value="XX"/>

DescriptionView.xaml contain this control: <label context="{binding on the tbArt value????}">

Is that possible directly without going in code behing and viewmodels ? Will the label be refresh automatically ?

Thanks !

© Stack Overflow or respective owner

Related posts about wpf

Related posts about mvvm