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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft