GridViewSelectionPreserver Property |
Gets a new selection preserver instance for the grid.
Namespace:
Eto.Forms
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public ISelectionPreserver SelectionPreserver { get; }
Public ReadOnly Property SelectionPreserver As ISelectionPreserver
Get
abstract SelectionPreserver : ISelectionPreserver with get
override SelectionPreserver : ISelectionPreserver with get
Property Value
Type:
ISelectionPreserverA new instance of the selection preserver.
Implements
ISelectableControlTSelectionPreserverRemarks
This is used to keep the selected items consistent for a grid when changing the
DataStore
collection dramatically, such as filtering or sorting the collection. Events such as removing or adding rows
will always keep the selection of existing rows.
See Also