Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

trigger every time when ever a property value is changed in ViewModel

$
0
0

Hi there,

    My question looks very simple but I couldn't finad any answer yet in internet. I have a property in my ViewModel and based on its value change I need to perform an Animation (like rotation operation and Angle property in View Model). But How do i write 'Trigger' in XAML based on this condition...? I have seen samples that explain to Trigger an perform Animation in Page Load event or even when the scenario like this... <DataTrigger Binding="{Binding Value}" Value="0">.but I dont know how to trigger every time when ever a property value is changed in ViewModel so that animation can be performed.... Please advise.

Thanks in advance...


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>