Skip to main content
All docs
V24.2

AccordionControl.HeaderStyle Property

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

Namespace: DevExpress.Xpf.Accordion

Assembly: DevExpress.Xpf.Accordion.v24.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>

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the HeaderStyle property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also