GroupStyleSelector
GroupStyleSelector
GroupStyleSelector
GroupStyleSelector
Class
Definition
Enables custom group style selection logic as a function of the parent group and its level.
public : class GroupStyleSelector : IGroupStyleSelector, IGroupStyleSelectorOverridespublic class GroupStyleSelector : IGroupStyleSelector, IGroupStyleSelectorOverridesPublic Class GroupStyleSelector Implements IGroupStyleSelector, IGroupStyleSelectorOverrides// This API is not available in Javascript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Constructors
GroupStyleSelector() GroupStyleSelector() GroupStyleSelector() GroupStyleSelector()
Initializes a new instance of the GroupStyleSelector class.
public : GroupStyleSelector()public GroupStyleSelector()Public Sub New()// This API is not available in Javascript.
Methods
SelectGroupStyle(Object, UInt32) SelectGroupStyle(Object, UInt32) SelectGroupStyle(Object, UInt32) SelectGroupStyle(Object, UInt32)
Returns a specific GroupStyle for a given group and level.
public : GroupStyle SelectGroupStyle(PlatForm::Object group, unsigned int level)public GroupStyle SelectGroupStyle(Object group, UInt32 level)Public Function SelectGroupStyle(group As Object, level As UInt32) As GroupStyle// This API is not available in Javascript.
- group
- PlatForm::Object Object Object Object
The group to return a GroupStyle for.
- level
- unsigned int UInt32 UInt32 UInt32
The level of nesting for the specified group.
The@Windows.UI.Xaml.Controls.GroupStyle?text=GroupStyle 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.
SelectGroupStyleCore(Object, UInt32) SelectGroupStyleCore(Object, UInt32) SelectGroupStyleCore(Object, UInt32) SelectGroupStyleCore(Object, UInt32)
When implemented by a derived class, returns a specific GroupStyle for a given group and level.
protected : virtual GroupStyle SelectGroupStyleCore(PlatForm::Object group, unsigned int level)protected virtual GroupStyle SelectGroupStyleCore(Object group, UInt32 level)Protected Overridable Function SelectGroupStyleCore(group As Object, level As UInt32) As GroupStyle// This API is not available in Javascript.
- group
- PlatForm::Object Object Object Object
The group to return a GroupStyle for.
- level
- unsigned int UInt32 UInt32 UInt32
The level of nesting for the specified group.
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.
- See Also