Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

VisualStateManager.CustomVisualStateManager Attached Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

See GetCustomVisualStateManager, SetCustomVisualStateManager

Property Value

Type: System.Windows.VisualStateManager

The visual state manager that transitions between the states of a control. The default is null.

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.

Return to top
Show:
© 2018 Microsoft