VisualStateManager - how we can define user interface in WPF and Slive(weblogs.asp.net)
submitted by
sergun(105) 3 years ago
It is known, that technologies WPF and Silverlight allow to change appearance of the application essentially. However, as it is found out, it is far not all know as it it is possible to do conveniently.
For definition of appearance of controls we usually use ControlTemplate, and dynamics we set via triggers. Undoubtedly, triggers in XAML - the most powerful tool. Nevertheless at construction of difficult interfaces the logic constructed on triggers happens not trivial and opaque, and at times sets restrictions.
Alternative way of construction of the task of appearance of controls is use of object VisualStateManager. I will not go deep into details, I will tell only the most necessary.
|category: Windows Presentation Foundation
|Views: 23
tags:
WPF another
Everyones tags:
Your Tags: