Skip to main content

CardView.FocusedCardBorderTemplate Property

Gets or sets the template that defines the presentation of a focused card’s border. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v23.2.dll

NuGet Package: DevExpress.Wpf.Grid.Core


public ControlTemplate FocusedCardBorderTemplate { get; set; }

Property Value

Type Description

A template that displays the border.


Target Type: Control

If a card is focused but not selected, the FocusedCardBorderTemplate property changes this card’s border.

The following code sample changes a focused card’s border:

DevExpress WPF | Grid Control - CardView FocusedCardBorderTemplate

<dxg:GridControl ...
        <dxg:CardView CardHeaderBinding="{Binding Name}" NavigationStyle="Row">
                <ControlTemplate TargetType="{x:Type Control}">
                    <Border BorderThickness="3" BorderBrush="Red"/>

Refer to the following help topic for more information: Appearance Customization.

See Also