Udostępnij za pośrednictwem


GroupStyleSelector Class

Definition

Enables custom group style selection logic as a function of the parent group and its level.

/// [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
Inheritance
Object IInspectable GroupStyleSelector
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Constructors

GroupStyleSelector()

Initializes a new instance of the GroupStyleSelector class.

Methods

SelectGroupStyle(Object, UInt32)

Returns a specific GroupStyle for a given group and level.

SelectGroupStyleCore(Object, UInt32)

When implemented by a derived class, returns a specific GroupStyle for a given group and level.

Applies to