VisualStateManager.GetVisualStateGroups(FrameworkElement) 方法

定义

VisualStateGroups获取附加属性。

public:
 static System::Collections::IList ^ GetVisualStateGroups(System::Windows::FrameworkElement ^ obj);
public static System.Collections.IList GetVisualStateGroups(System.Windows.FrameworkElement obj);
static member GetVisualStateGroups : System.Windows.FrameworkElement -> System.Collections.IList
Public Shared Function GetVisualStateGroups (obj As FrameworkElement) As IList

参数

obj
FrameworkElement

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

返回

与指定对象关联的对象的集合 VisualStateGroup

适用于