Dela via


GroupStyleSelector.SelectGroupStyle(Object, UInt32) Method

Definition

Returns a specific GroupStyle for a given group and level.

GroupStyle SelectGroupStyle(IInspectable const& group, uint32_t const& level);
public GroupStyle SelectGroupStyle(object group, uint level);
function selectGroupStyle(group, level)
Public Function SelectGroupStyle (group As Object, level As UInteger) As GroupStyle

Parameters

group
Object

IInspectable

The group to return a GroupStyle for.

level
UInt32

uint32_t

The level of nesting for the specified group.

Returns

TheGroupStyle to use when this GroupStyleSelector is invoked in an application.

Remarks

To provide a specific group style in a derived class, override the SelectGroupStyleCore method.

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

Applies to