Dela via


ItemsControl.GroupStyle Property

Definition

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

public:
 property IObservableVector<GroupStyle ^> ^ GroupStyle { IObservableVector<GroupStyle ^> ^ get(); };
IObservableVector<GroupStyle> GroupStyle();
public IObservableVector<GroupStyle> GroupStyle { get; }
var iObservableVector = itemsControl.groupStyle;
Public ReadOnly Property GroupStyle As IObservableVector(Of GroupStyle)
<itemsControl>
  <itemsControl.GroupStyle>
    oneOrMoreGroupStyleObjects
  </itemsControl.GroupStyle>
</itemsControl>

Property Value

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.

Applies to