共用方式為


GroupStyleSelector 類別

定義

啟用自訂群組樣式選取邏輯作為父群組及其層級的函式。

/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class GroupStyleSelector
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public class GroupStyleSelector
Public Class GroupStyleSelector
繼承
Object IInspectable GroupStyleSelector
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

建構函式

GroupStyleSelector()

初始化 GroupStyleSelector 類別的新實例。

方法

SelectGroupStyle(Object, UInt32)

傳回指定群組和層級的特定 GroupStyle

SelectGroupStyleCore(Object, UInt32)

由衍生類別實作時,傳回指定群組和層級的特定 GroupStyle

適用於