Back to Devexpress

TableView.RetainSelectionOnClickOutsideCheckBoxSelector Property

wpf-devexpress-dot-xpf-dot-grid-dot-tableview-661ecfc7.md

latest2.7 KB
Original Source

TableView.RetainSelectionOnClickOutsideCheckBoxSelector Property

Gets or sets whether the selection made in the check column is retained on a click in the grid outside the check column. 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 bool RetainSelectionOnClickOutsideCheckBoxSelector { get; set; }
vb
Public Property RetainSelectionOnClickOutsideCheckBoxSelector As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if selection is retained; otherwise, false.

|

Remarks

If the RetainSelectionOnClickOutsideCheckBoxSelector property is set to true , the Selection Rectangle feature is disabled.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RetainSelectionOnClickOutsideCheckBoxSelector 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.

wpf-pivot-grid-implement-a-custom-filter-popup/CS/DXPivotGrid_CustomFilterPopup/MainWindow.xaml#L35

xml
<dxg:TableView SearchDelay="100" AutoWidth="True" NavigationStyle="Row"
                   RetainSelectionOnClickOutsideCheckBoxSelector="False"
                   ShowCheckBoxSelectorColumn="True" CheckBoxSelectorColumnWidth="35"

See Also

Selector Column

TableView Class

TableView Members

DevExpress.Xpf.Grid Namespace