Windows.UI.Xaml.Controls.GroupStyle.ContainerStyle

December 15, 2023 · View on GitHub

-description

Note

ContainerStyle may be altered or unavailable for releases after Windows 8.1 and is not supported for ItemsControl.GroupStyle.

Gets or sets the style that is applied to the GroupItem generated for each item.

-xaml-syntax

<GroupStyle ContainerStyle="styleReference" />
- or -
<GroupStyle>
  <GroupStyle.ContainerStyle>
    singleStyle
  </GroupStyle.ContainerStyle>
</GroupStyle>  

-xaml-values

styleReference
styleReferenceA reference to an existing Style. Typically this is a keyed resource, which you reference through {StaticResource} markup extension.
singleStyle
singleStyleA single Style object element defined inline, which declares the style and setters for the group item container.
## -property-value The style that is applied to the [GroupItem](groupitem.md) generated for each item. The default is **null**.

-remarks

-examples

-see-also

HeaderContainerStyle