GroupStyle.HeaderContainerStyle Property

Definition

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

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.GroupStyle.HeaderContainerStyle.

public:
 property Style ^ HeaderContainerStyle { Style ^ get(); void set(Style ^ value); };
Style HeaderContainerStyle();

void HeaderContainerStyle(Style value);
public Style HeaderContainerStyle { get; set; }
var style = groupStyle.headerContainerStyle;
groupStyle.headerContainerStyle = style;
Public Property HeaderContainerStyle As Style
<GroupStyle ...>
  <GroupStyle.HeaderContainerStyle>
    <Style TargetType="headerItemType">
      oneOrMoreSetters
    </Style>
  </GroupStyle.HeaderContainerStyle>
</GroupStyle>

Property Value

Style

The style that is applied to the header for each item. The default is null.

Applies to

See also