GroupStyleSelector.SelectGroupStyle(Object, UInt32) GroupStyleSelector.SelectGroupStyle(Object, UInt32) GroupStyleSelector.SelectGroupStyle(Object, UInt32) GroupStyleSelector.SelectGroupStyle(Object, UInt32) Method

Definition

Returns a specific GroupStyle for a given group and level.

public : GroupStyle SelectGroupStyle(Platform::Object group, unsigned int level)
GroupStyle SelectGroupStyle(winrt::Windows::Foundation::IInspectable group, uint32_t level) const;
public GroupStyle SelectGroupStyle(Object group, UInt32 level)
Public Function SelectGroupStyle(group As Object, level As UInt32) As GroupStyle

Parameters

group
Object Object

The group to return a GroupStyle for.

level
UInt32 UInt32

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.