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

适用于

另请参阅