.NET Framework Class Library for Silverlight
VisualStateManager.CustomVisualStateManager Attached Property
Gets or sets the VisualStateManager that transitions between the states of a control.
Namespace: System.Windows
Assembly: System.Windows (in System.Windows.dll)
Syntax
Visual Basic (Declaration)
See GetCustomVisualStateManager, SetCustomVisualStateManager
C#
See GetCustomVisualStateManager, SetCustomVisualStateManager
XAML Object Element Usage
<templateRoot> <VisualStateManager.CustomVisualStateManager> singleCustomVisualStateManager </VisualStateManager.CustomVisualSstateManager> </templateRoot>
XAML Attribute Usage
<templateRoot VisualStateManager.CustomVisualStateManager="{StaticResource customVisualStateManagerKey}"/>
XAML Values
Property Value
Type: System.Windows.VisualStateManagerThe VisualStateManager that transitions between the states of a control. The default is null.
Remarks
Use the CustomVisualStateManager property if you want to implement your own logic for transitioning between states. If CustomVisualStateManager is null, the VisualStateManager uses its own logic to transition between states.
Version Information
Silverlight
Supported in: 5, 4, 3Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
See Also