VisualStateManager.SetCustomVisualStateManager Method (FrameworkElement, VisualStateManager)

 

Sets the CustomVisualStateManager attached property.

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

public static void SetCustomVisualStateManager(
	FrameworkElement obj,
	VisualStateManager value
)

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: