User Profile

Collapse

Profile Sidebar

Collapse
florin2905
florin2905
Last Activity: Sep 4 '13, 07:34 AM
Joined: May 29 '13
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • florin2905
    replied to Binding after data context is changed
    in XAML
    The bindings are refreshed into the whole tree when data context is changed.

    But in my case I have some bindings on the template of my extended TextBox.

    Here the DataContext is changed with some delay after the control where is used triggers the DataContext event, so the bindings are refreshed before the DataContext from my extended TextBox template is really changed, so the binding is still pointing to the old DataCon...
    See more | Go to post
    Last edited by Frinavale; May 30 '13, 01:49 PM. Reason: Fixed spelling and grammar.

    Leave a comment:


  • florin2905
    started a topic Binding after data context is changed
    in XAML

    Binding after data context is changed

    Hi,

    I have a strange problem.

    I have a WPF screen on which I have an extended TextBox that makes some conversions in some cases.That property is bound to a property on view model.

    When the data context is changed then the conversions are reevaluated. When reevaluated my extended TextBox has the new data context but the BindingOperatio ns.GetBindingEx pression(textBo x, dpproperty).Dat aItem is still having the...
    See more | Go to post
    Last edited by Frinavale; May 30 '13, 01:46 PM. Reason: Fixed spelling and grammar. Formatted the post.
No activity results to display
Show More
Working...