[This documentation is preliminary and is subject to change.]
Applies to: Metro style apps only
Describes how to display the grouped items in a collection, such as the collection from GroupItems.
Inheritance
- Object
- GroupStyle
Syntax
<GroupStyle />
Attributes
- MarshalingBehaviorAttribute(Agile)
- ThreadingAttribute(Both)
- VersionAttribute(NTDDI_WIN8)
- WebHostHiddenAttribute()
Members
The GroupStyle class has these types of members:
Constructors
The GroupStyle class has these constructors.
| Constructor | Description |
|---|---|
| GroupStyle | Initializes a new instance of the GroupStyle class. |
Events
The GroupStyle class has these events.
| Event | Description |
|---|---|
| PropertyChanged | Occurs when a property value changes. |
Methods
The GroupStyle class inherits methods from the Object class.
Properties
The GroupStyle class has these properties.
| Property | Access type | Description |
|---|---|---|
| Read/write | Gets or sets the style that is applied to the GroupItem generated for each item. | |
| Read/write | Gets or sets a reference to a custom StyleSelector logic class. The StyleSelector referenced by this property returns a style to apply to each generated GroupItem. | |
| Read/write | Gets or sets the template that is used to display the group header. | |
| Read/write | Gets or sets a reference to a custom DataTemplateSelector logic class. The DataTemplateSelector returns different DataTemplate values to use for the header area of group item content. | |
| Read/write | Gets or sets a value that indicates whether items corresponding to empty groups should be displayed. | |
| Read/write | Gets or sets a template that creates the panel used to lay out the items. |
Requirements
|
Minimum supported client | Windows 8 Release Preview |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 5/22/2012
