VisualStateManager.SetCustomVisualStateManager Method

Definition

Sets the CustomVisualStateManager attached property.

public:
 static void SetCustomVisualStateManager(System::Windows::FrameworkElement ^ obj, System::Windows::VisualStateManager ^ value);
public static void SetCustomVisualStateManager (System.Windows.FrameworkElement obj, System.Windows.VisualStateManager value);
static member SetCustomVisualStateManager : System.Windows.FrameworkElement * System.Windows.VisualStateManager -> unit
Public Shared Sub SetCustomVisualStateManager (obj As FrameworkElement, value As VisualStateManager)

Parameters

obj
FrameworkElement

The object to set the property on.

value
VisualStateManager

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

Applies to