Windows Dev Center

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.SetCustomVisualStateManager Method

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

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft