Tell me whether it is possible to determine the animation of the element in the View and when changing a certain property in the ViewModel, launch it. Roughly speaking, can the OnPropertyChanged("Name") event trigger an animation in any of the elements? I have a ToggleButton that, when going from False to True, should start an animation for the next element. while he himself is tied to a property in the ViewModel: IsChecked = "{Binding ToogleButtonIsChecked, Mode = TwoWay}"
edit: the ToogleButten switch changes the state of the model. When the state changes from false to true, the text changes through the animation. The text smoothly changes color, content, then it is updated to the one that gives it a ViewModel. Text1 -> Wait ... (changes color and content for a while) -> Text2
ToogleButtonIsChecked, or toToggleButton. Or I misunderstood the question? - EvgeniyZ 1:43