VisualStateManager.SetCustomVisualStateManager Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Sets the value of the CustomVisualStateManager attached property.
Assembly: System.Windows (in System.Windows.dll)
public static void SetCustomVisualStateManager( FrameworkElement obj, VisualStateManager value )
Parameters
- obj
- Type: System.Windows.FrameworkElement
The object on which to set the property.
- value
- Type: System.Windows.VisualStateManager
The VisualStateManager that transitions between the states of a control.
| Exception | Condition |
|---|---|
| ArgumentNullException | obj is null. |
Show: