wpf-devexpress-dot-xpf-dot-grid-dot-dataviewbase-95d3f705.md
Gets or sets whether the selected rows are decorated with a specific appearance. This is a dependency property.
Namespace : DevExpress.Xpf.Grid
Assembly : DevExpress.Xpf.Grid.v25.2.Core.dll
NuGet Package : DevExpress.Wpf.Grid.Core
public bool EnableSelectedRowAppearance { get; set; }
Public Property EnableSelectedRowAppearance As Boolean
| Type | Description |
|---|---|
| Boolean |
true, if the specific appearance for selected rows is enabled; otherwise, false.
|
Use the EnableSelectedRowAppearance property to disable decorating selected and focused rows with a specific appearance.
The image below demonstrates the visual difference between two controls with the disabled and enabled DataViewBase.EnableSelectedRowAppearance option. The first four rows are selected in both the grids.
The following code snippets (auto-collected from DevExpress Examples) contain references to the EnableSelectedRowAppearance property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
how-to-specify-navigation-in-custom-cell-editors/CS/MainWindow.xaml#L24
<dxg:GridControl.View>
<dxg:TableView EnableSelectedRowAppearance="False" ShowGroupPanel="False" AutoWidth="True">
<dxmvvm:Interaction.Behaviors>
wpf-data-grid-customize-background/CS/MainWindow.xaml#L30
<dxg:GridControl.View>
<dxg:TableView EnableSelectedRowAppearance="False"/>
</dxg:GridControl.View>
See Also