Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><a href="http://blog.mustoverride.com/2010/01/silverlight-updatesourcetrigger.html?showComment=1279149377285_AIe9_BFLaR4pbpg_swaitgIUU0PR-hQVluTHi6P3siH156dRQIYsaNKVxx_ptreNpwv-HaozS_tab7wC55uFRxgzpOU22HtkC6-Cz2DwtrHdnmZZ5dn0sOwczJ_MpPg5K5LsT24F6GdNHZyI9LYI4kQQaU0V7rtwuIkU1AsYxATywIYpt_ZIRS5lh4WjahPQqu4-c9TBPqHvJN0zQAQGAUsCeuIa0h_HR-rE7iUy4ajM3zzOACX3B9D3tQBXhLrGf0q0mG67thiUcZZqgvzr2eNENemhQpWLX_5Kky7Nj2WDwQcOxIDsYlWz6WTjVu8_UPVFuSTVJjmGajc9rEGDX7Xcq1ZwzVXhRTMCTw_IGXWYm_pp0in0V5G5LEwKViKkNLgFWL3BazgXZQjtFsnFT4Y2-K5FxMGIGmufAAo5uwMM1Q3GLbXwlhwAAcxz3Gar6Z-olH7ylmobDKmCKNedO2zb0ctdkPQZe7U2yYRg5OY-cI3PQtygpkQpjG6ap9yvUIf6Gpd6HErk8Q6OFy4AlpXqiiIriABLE-E1b-e9w44l1T_FQhGLEtiJD4bvY2VZXx5Pe1_0EISdX_PNPcN1E3a5iOmq7CppTkmY64gar1XZtWZ7xdZ18WldNXG3LDFEInWlUiSngpJdBqv0wT81_-RwxJuGY8Faq2iOATzih4274u1bJa73-HWzcepR9G5nl33NBWNCOWZbuW_Q8heTU6ea02X3D-E767OCxHTBi_NB7pRDyAq_stQiFPTD3H--g-DWrhVaI44PXBia88huy4-b1PIEyUzatDm747Hyw9ilRsQPH9RgUbuKocnTBbssmuhq8hK4vErFspeh-nEIHLVvyTxNs-YWhHKBpgY27k5bLZU1fSdyudw#c8238632009983091264" rel="nofollow noreferrer">You can do it with a behavior applied to the textbox too</a></p> <pre><code>// xmlns:int is System.Windows.Interactivity from System.Windows.Interactivity.DLL) // xmlns:behavior is your namespace for the class below &lt;TextBox Text="{Binding Description,Mode=TwoWay,UpdateSourceTrigger=Explicit}"&gt; &lt;int:Interaction.Behaviors&gt; &lt;behavior:TextBoxUpdatesTextBindingOnPropertyChanged /&gt; &lt;/int:Interaction.Behaviors&gt; &lt;/TextBox&gt; public class TextBoxUpdatesTextBindingOnPropertyChanged : Behavior&lt;TextBox&gt; { protected override void OnAttached() { base.OnAttached(); AssociatedObject.TextChanged += new TextChangedEventHandler(TextBox_TextChanged); } protected override void OnDetaching() { base.OnDetaching(); AssociatedObject.TextChanged -= TextBox_TextChanged; } void TextBox_TextChanged(object sender, TextChangedEventArgs e) { var bindingExpression = AssociatedObject.GetBindingExpression(TextBox.TextProperty); bindingExpression.UpdateSource(); } } </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload