GroupStyle.HeaderContainerStyle property

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

Syntax


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


<GroupStyle ...>
  <GroupStyle.HeaderContainerStyle>
    <Style TargetType="headerItemType">
      oneOrMoreSetters
    </Style>
  </GroupStyle.HeaderContainerStyle>
</GroupStyle>

XAML Values

headerItemType

Must use a TargetType of either GridViewHeaderItem or ListViewHeaderItem.

oneOrMoreSetters

One or more Setter elements with Property attributes that target the dependency properties of either GridViewHeaderItem or ListViewHeaderItem

Property value

Type: Style

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

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

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

GroupStyle
GridViewHeaderItem
ListViewHeaderItem

 

 

Show:
© 2015 Microsoft