Skip to main content
A newer version of this page is available. .
All docs
V21.2

AccordionControl.HeaderStyle Property

Specifies the Accordion Header style. This is a dependency property.

Namespace: DevExpress.Xpf.Accordion

Assembly: DevExpress.Xpf.Accordion.v21.2.dll

NuGet Package: DevExpress.Wpf.Accordion

Declaration

public Style HeaderStyle { get; set; }

Property Value

Type Description
Style

A System.Windows.Style object.

Remarks

You can use standard appearance properties to customize the HeaderStyle:

BorderBrush

BorderThickness

Background

Foreground

<dxa:AccordionControl.HeaderStyle>
    <Style TargetType="dxa:HeaderPresenter" >
        <Setter Property="Background" Value="#e6f2fa"/>
        <Setter Property="Foreground" Value="Brown"/>
        <Setter Property="BorderBrush" Value="#51555f"/>
        <Setter Property="BorderThickness" Value="0,0,0,1"/>
    </Style>
</dxa:AccordionControl.HeaderStyle>
See Also