SelectGroupStyleCore method
Collapse the table of content
Expand the table of content

GroupStyleSelector.SelectGroupStyleCore method

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

Syntax


protected virtual GroupStyle SelectGroupStyleCore(
  object group, 
  uint level
)

Parameters

group

Type: System.Object [.NET] | Platform::Object [C++]

The group to return a GroupStyle for.

level

Type: System.UInt32 [.NET] | uint32 [C++]

The level of nesting for the specified group.

Return value

Type: GroupStyle

The GroupStyle to use for the specified group and level.

Remarks

Windows 8:  In Windows 8, you can pass null as the group parameter value. In Windows 8.1, passing null causes an error.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

See also

How to group items in a list or grid
GroupStyleSelector

 

 

Show:
© 2016 Microsoft