Back to Devexpress

TreeListView.FocusedRowBorderTemplate Property

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-2b4a57cd.md

latest2.1 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public ControlTemplate FocusedRowBorderTemplate { get; set; }
vb
Public Property FocusedRowBorderTemplate As ControlTemplate

Property Value

TypeDescription
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:

xaml
<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

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace