wpf-devexpress-dot-xpf-dot-grid-dot-dataviewbase-25d8a03d.md
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
public ControlTemplate FocusedCellBorderTemplate { get; set; }
Public Property FocusedCellBorderTemplate As ControlTemplate
| Type | Description |
|---|---|
| ControlTemplate |
The template that displays the border.
|
The GridControl applies the FocusedCellBorderTemplate if the DataViewBase.ShowFocusedRectangle property is set to true and the DataViewBase.NavigationStyle property is set to Cell:
<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