Back to Devexpress

TableView.FocusedRowBorderTemplate Property

wpf-devexpress-dot-xpf-dot-grid-dot-tableview-c1689b82.md

latest2.3 KB
Original Source

TableView.FocusedRowBorderTemplate Property

Gets or sets the template that defines the presentation of a focused row’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 represents the template that displays the border.

|

Remarks

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

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

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

See Also

FocusedCellBorderTemplate

TableView Class

TableView Members

DevExpress.Xpf.Grid Namespace