VisualStateManager.GetCustomVisualStateManager(FrameworkElement) 方法

定义

获取 CustomVisualStateManager 附加属性。

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

参数

obj
FrameworkElement

要从中获取 CustomVisualStateManager 附加属性的元素。

返回

VisualStateManager

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

适用于