GroupStyleSelector Class

Definition

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

class GroupStyleSelector
[Windows.Foundation.Metadata.Composable(typeof(Windows.UI.Xaml.Controls.IGroupStyleSelectorFactory), Windows.Foundation.Metadata.CompositionType.Public, 65536, typeof(Windows.Foundation.UniversalApiContract))]
[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)]
[Windows.Foundation.Metadata.WebHostHidden]
public 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)]
[Windows.Foundation.Metadata.WebHostHidden]
[Windows.Foundation.Metadata.Composable(typeof(Windows.UI.Xaml.Controls.IGroupStyleSelectorFactory), Windows.Foundation.Metadata.CompositionType.Public, 65536, "Windows.Foundation.UniversalApiContract")]
public class GroupStyleSelector
Public Class GroupStyleSelector
Inheritance
GroupStyleSelector
Attributes

Windows 10 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

See also