Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ItemsControl.GroupStyle property

Applies to Windows and Windows Phone

Gets a collection of GroupStyle objects that define the appearance of each level of groups.

Syntax


public IObservableVector<GroupStyle> GroupStyle { get; }


<itemsControl>
  <itemsControl.GroupStyle>
    oneOrMoreGroupStyleObjects
  </itemsControl.GroupStyle>
</itemsControl>


XAML Values

oneOrMoreGroupStyleObjects

One or more GroupStyle object elements defined in XAML. Each GroupStyle might contain definitions for HeaderTemplate and Panel that apply for a particular level.

Property value

Type: IObservableVector<GroupStyle>

A collection of GroupStyle objects that define the appearance of each level of groups.

Remarks

Note  GroupStyle.ContainerStyle and GroupStyle.ContainerStyleSelector are deprecated in Windows 8.1, and are ignored in ItemsControl.GroupStyle.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

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

Metadata

Windows.winmd

See also

ItemsControl

 

 

Show:
© 2014 Microsoft