VisualStateManager.SetCustomVisualStateManager 方法

定义

设置 CustomVisualStateManager 附加属性。

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)

参数

obj
FrameworkElement

要对其设置属性的对象。

value
VisualStateManager

切换控件状态的可视状态管理器。

适用于