WebDataSelection Members

Represents selection within the ASPxGridView.

Constructors

Name Description
WebDataSelection(WebDataProxy) Initializes a new instance of the WebDataSelection class.

Properties

Name Description
Count Gets the number of selected grid rows.
FilteredCount Gets the number of selected grid rows that meet the filter conditions.

Methods

Name Description
BeginSelection() Prevents raising the ASPxGridBase.SelectionChanged event for each programmatic selection modification (until the WebDataSelection.EndSelection or the WebDataSelection.CancelSelection method is called).
CancelSelection() Unlocks the ASPxGridBase.SelectionChanged event, raising functionality after a call to the WebDataSelection.BeginSelection method, but prevents a single SelectionChanged event to be generated as a result of the performed batch selection modifications.
EndSelection() Unlocks the ASPxGridBase.SelectionChanged event raising functionality after a call to the WebDataSelection.BeginSelection method, and causes a single SelectionChanged event to be generated as a result for the performed batch selection modifications.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
SelectAll() Selects all data rows within the grid.
SetSelection(Int32, Boolean) Selects or unselects the specified row.
SetSelectionByKey(Object, Boolean) Selects or unselects the specified row within the ASPxGridView.
ToString() Returns a string that represents the current object. Inherited from Object.
UnselectAll() Clears selection in the ASPxGridView.
UnselectAllFiltered() Unselects all rows which match a filter criteria currently applied within the ASPxGridView.
See Also