Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TreeListView.FocusedRowBorderTemplate Property

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

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

public ControlTemplate FocusedRowBorderTemplate { get; set; }

#Property Value

Type Description
ControlTemplate

A ControlTemplate object that specifies the template that displays the border.

#Remarks

The TreeListView applies the FocusedRowBorderTemplate if the DataViewBase.ShowFocusedRectangle property is set to true and the DataViewBase.NavigationStyle property is set to Row:

<dxg:TreeListView ShowFocusedRectangle="True" NavigationStyle="Row">
    <dxg:TreeListView.FocusedRowBorderTemplate>
        <ControlTemplate>
            <Border CornerRadius="5" BorderThickness="2" BorderBrush="Orange"/>
        </ControlTemplate>
    </dxg:TreeListView.FocusedRowBorderTemplate>
</dxg:TreeListView>

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

See Also