VisualStateManager.SetCustomVisualStateManager Method (FrameworkElement, VisualStateManager)

 
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.

Sets the CustomVisualStateManager attached property.

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

Public Shared Sub SetCustomVisualStateManager (
	obj As FrameworkElement,
	value As VisualStateManager
)

Parameters

obj
Type: System.Windows.FrameworkElement

The object to set the property on.

value
Type: System.Windows.VisualStateManager

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

.NET Framework
Available since 4.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: