Back to Devexpress

DataViewBase.FocusedCellBorderTemplate Property

wpf-devexpress-dot-xpf-dot-grid-dot-dataviewbase-25d8a03d.md

latest2.2 KB
Original Source

DataViewBase.FocusedCellBorderTemplate Property

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

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.Core.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

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

Property Value

TypeDescription
ControlTemplate

The template that displays the border.

|

Remarks

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

xaml
<dxg:TableView ShowFocusedRectangle="True" NavigationStyle="Cell">
    <dxg:TableView.FocusedCellBorderTemplate>
        <ControlTemplate>
            <Border CornerRadius="4" BorderThickness="2" BorderBrush="Blue"/>
        </ControlTemplate>
    </dxg:TableView.FocusedCellBorderTemplate>
</dxg:TableView>

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

See Also

FocusedRowBorderTemplate

DataViewBase Class

DataViewBase Members

DevExpress.Xpf.Grid Namespace