VisualStateManager.CustomVisualStateManager Attached Property

Definition

Gets or sets the VisualStateManager object that transitions between the states of a control.

see GetCustomVisualStateManager, and SetCustomVisualStateManager
see GetCustomVisualStateManager, and SetCustomVisualStateManager
see GetCustomVisualStateManager, and SetCustomVisualStateManager

Remarks

If CustomVisualStateManager is null, the VisualStateManager uses its own logic to transition between states. If you want to implement your own logic for transitioning between states, create a class that inherits from VisualStateManager and override the GoToStateCore method. To use the custom class, set the CustomVisualStateManager property to an object of your custom type.

Applies to