VisualStateManager.GetCustomVisualStateManager(FrameworkElement) Method

Definition

Gets the CustomVisualStateManager attached property.

public:
 static System::Windows::VisualStateManager ^ GetCustomVisualStateManager(System::Windows::FrameworkElement ^ obj);
public static System.Windows.VisualStateManager GetCustomVisualStateManager (System.Windows.FrameworkElement obj);
static member GetCustomVisualStateManager : System.Windows.FrameworkElement -> System.Windows.VisualStateManager
Public Shared Function GetCustomVisualStateManager (obj As FrameworkElement) As VisualStateManager

Parameters

obj
FrameworkElement

The element to get the CustomVisualStateManager attached property from.

Returns

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

Applies to