The requested page is not available for the requested platform. You are viewing the content for Default platform.

HeaderedItemsContainer.HeaderStyle Property

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

Namespace: DevExpress.UI.Xaml.Layout

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

Declaration

public Style HeaderStyle { get; set; }
Public Property HeaderStyle As Style

Property Value

Type Description
Windows.UI.Xaml.Style

The style applied to the container's header.

Remarks

Control The type for which the style is intended (TargetType)
LayoutControl LayoutControlHeader
LayoutGroup LayoutGroupHeader

The following code changes the font attributes of a LayoutGroup's header:

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

<Layout:LayoutGroup Header="Details">
    <Layout:LayoutGroup.HeaderStyle>
        <Style TargetType="Layout:LayoutGroupHeader">
            <Setter Property="Foreground" Value="Red"/>
            <Setter Property="FontSize" Value="32"/>
        </Style>
    </Layout:LayoutGroup.HeaderStyle>
    <Layout:LayoutItem Header="Purchase price:" Required="True">
        <dxEditors:TextEdit Width="150"/>
    </Layout:LayoutItem>
</Layout:LayoutGroup>
See Also