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

适用于