Skip to main content

HeaderedContentContainer.HeaderStyle Property

Gets or sets the style applied to the container’s header.

Namespace: DevExpress.UI.Xaml.Layout

Assembly: DevExpress.UI.Xaml.Layout.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

Declaration

public Style HeaderStyle { get; set; }

Property Value

Type Description
Style

The style applied to the container’s header.

Remarks

Control The type for which the style is intended (TargetType)
ExpandContainer ExpandContainerHeader
GroupContainer GroupContainerHeader
LayoutItem LayoutItemHeader

The following code changes the font attributes of an ExpandContainer‘s header:

xmlns:Layout="using:DevExpress.UI.Xaml.Layout"

<Layout:ExpandContainer Header="Header">
    <Layout:ExpandContainer.HeaderStyle>
        <Style TargetType="Layout:ExpandContainerHeader">
            <Setter Property="Foreground" Value="Red"/>
            <Setter Property="FontSize" Value="32"/>
        </Style>
    </Layout:ExpandContainer.HeaderStyle>
    Header
</Layout:ExpandContainer>
See Also