GroupStyle class

Expand
This topic has not yet been rated - Rate this topic

GroupStyle class

[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


public class GroupStyle : Object,
    INotifyPropertyChanged

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.

ConstructorDescription
GroupStyle Initializes a new instance of the GroupStyle class.

 

Events

The GroupStyle class has these events.

EventDescription
PropertyChanged Occurs when a property value changes.

 

Methods

The GroupStyle class inherits methods from the Object class.

Properties

The GroupStyle class has these properties.

PropertyAccess typeDescription

ContainerStyle

Read/writeGets or sets the style that is applied to the GroupItem generated for each item.

ContainerStyleSelector

Read/writeGets 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.

HeaderTemplate

Read/writeGets or sets the template that is used to display the group header.

HeaderTemplateSelector

Read/writeGets 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.

HidesIfEmpty

Read/writeGets or sets a value that indicates whether items corresponding to empty groups should be displayed.

Panel

Read/writeGets 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

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

Metadata

Windows.winmd

See also

Object
INotifyPropertyChanged

 

 

Build date: 5/22/2012

Did you find this helpful?
(1500 characters remaining)
Community Additions ADD