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.v24.1.Core.dll
NuGet Package: DevExpress.Wpf.Grid.Core
Declaration
Property Value
Type | Description |
---|---|
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
:
<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