共用方式為


GroupStyleSelector 類別

定義

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

/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 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(Microsoft.UI.Xaml.WinUIContract), 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
屬性

建構函式

GroupStyleSelector()

初始化 GroupStyleSelector 類別的新實例。

方法

SelectGroupStyle(Object, UInt32)

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

SelectGroupStyleCore(Object, UInt32)

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

適用於

另請參閱