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 物件的集合,與特定物件相關聯。

適用於