GetCustomVisualStateManager Method

VisualStateManager.GetCustomVisualStateManager Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the value of the CustomVisualStateManager attached property.

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

public static VisualStateManager GetCustomVisualStateManager(
	FrameworkElement obj
)

Parameters

obj
Type: System.Windows.FrameworkElement
The element from which to get the CustomVisualStateManager.

Return Value

Type: System.Windows.VisualStateManager
The VisualStateManager that transitions between the states of a control.

ExceptionCondition
ArgumentNullException

obj is null.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft