ThemeProvider.GetSkinsForControl(Type) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得 ICollection 與指定 Type. 相關聯的皮膚識別碼。
public:
System::Collections::ICollection ^ GetSkinsForControl(Type ^ type);
public System.Collections.ICollection GetSkinsForControl(Type type);
member this.GetSkinsForControl : Type -> System.Collections.ICollection
Public Function GetSkinsForControl (type As Type) As ICollection
參數
傳回
若對指定ICollection皮膚定義了控制皮膚,則 一Type組皮膚識別碼。 若該類型沒有對應控制皮膚,則會回傳一個空 ICollection 皮。
備註
設計者會用此 GetSkinsForControl 方法填充控制皮膚名稱的清單。 設計師利用清單綁定使用者介面(UI)元素,或顯示特定控制類型的設計屬性。