microsoft / XamlBehaviors

This is the official home for UWP XAML Behaviors on GitHub.
MIT License
702 stars 112 forks source link

Forcing update to (DataTrigger)Behavior #82

Closed Duranom closed 8 years ago

Duranom commented 8 years ago

Normally when trying to force an update with a binding I just raise the event of the INotifyPropertyChanged and the binding is forced updated, however when trying this to trigger the datatriggerbehavior like this it does not work untill I really have a different value. For example I want to get the value when triggered and then with an action put it into textfield like a little log or invoke a command in the view despite being the same every time.

Duranom commented 8 years ago

Best to use event trigger as this is due the binding mechanism, sorry about this. Though it would be still nice to have due the third party libraries sometimes and with Animations.