Click or drag to resize
Selection Class
Represents the selection.
Inheritance Hierarchy

Namespace: Telerik.Windows.Controls.Spreadsheet.Worksheets
Assembly: Telerik.Windows.Controls.Spreadsheet (in Telerik.Windows.Controls.Spreadsheet.dll) Version: 2017.2.614.40 (2017.2.614.40)
Syntax
public class Selection : SelectionBase, IWeakEventListener

The Selection type exposes the following members.

Methods
  NameDescription
Public methodBeginUpdate
Begins the update.
(Inherited from SelectionBase.)
Public methodContainsColumn
Determines whether the selection contains column.
(Inherited from SelectionBase.)
Public methodContainsIndex
Determines whether the selection contains cell index.
(Inherited from SelectionBase.)
Public methodContainsPosition
Determines whether the selection contains cell position.
(Inherited from SelectionBase.)
Public methodContainsRange
Determines whether the selection contains cell range.
(Inherited from SelectionBase.)
Public methodContainsRow
Determines whether the selection contains row.
(Inherited from SelectionBase.)
Public methodCreateSelectionState
Creates the selection state.
Public methodEndUpdate
Ends the update.
(Inherited from SelectionBase.)
Public methodEnsureDisplayMode
Ensures the display mode.
Public methodIntersectsColumn
Checks if the the column intersects with the selection.
(Overrides SelectionBaseIntersectsColumn(Int32).)
Public methodIntersectsRow
Checks if the the row intersects with the selection.
(Overrides SelectionBaseIntersectsRow(Int32).)
Protected methodOnActiveCellModeChanged
Called when the active cell mode is changed.
Protected methodOnSelectionChanged
Called when the selection is changed.
(Inherited from SelectionBase.)
Protected methodOnSelectionChanging
Raises the [E:SelectionChanging] event.
(Inherited from SelectionBase.)
Protected methodOnSelectionChangingCanceled
Called when the selection changing is canceled.
(Inherited from SelectionBase.)
Protected methodOnSelectionUpdate
Called on selection update.
(Inherited from SelectionBase.)
Public methodReceiveWeakEvent
Receives events from the centralized event manager.
Public methodRestoreSelectionState
Restores the selection state.
Public methodSelect(CellIndex, Boolean)
Selects the specified cell index.
(Inherited from SelectionBase.)
Public methodSelect(CellRange, Boolean)
Selects the specified cell range.
(Inherited from SelectionBase.)
Public methodSelect(IEnumerableFloatingShapeBase, Boolean)
Selects the specified shapes.
Public methodSelect(FloatingShapeBase, Boolean)
Selects the specified shape.
Public methodSelect(CellIndex, CellIndex, Boolean)
Selects range defined by the fromIndex and toIndex parameters.
(Inherited from SelectionBase.)
Public methodSelect(Int32, Int32, Int32, Int32, Boolean)
Selects the specified cell range.
(Inherited from SelectionBase.)
Public methodSelectActiveCell
Selects the active cell.
Public methodSelectAll
Selects all.
(Inherited from SelectionBase.)
Top
Properties
  NameDescription
Public propertyActiveCell
Gets the active cell selection.
Public propertyActiveCellIndex
Gets the index of the active cell.
Public propertyActiveCellMode
Gets or sets the active cell mode.
Public propertyActiveRange
Gets the active range.
(Inherited from SelectionBase.)
Public propertyCells
Gets the cells selection.
(Inherited from SelectionBase.)
Public propertyColumns
Gets the columns selection.
(Inherited from SelectionBase.)
Public propertyIsCellSelection
Gets or sets the value indicating whether the active selection is cell selection or shape selection.
Public propertyIsColumnSelection
Gets the value defining if the selection is column selection.
(Inherited from SelectionBase.)
Public propertyIsRowSelection
Gets the value defining if the selection is row selection.
(Inherited from SelectionBase.)
Public propertyIsSelectionInProgress
Gets the value indicating if the selection is in progress.
(Inherited from SelectionBase.)
Public propertyRows
Gets the rows selection.
(Inherited from SelectionBase.)
Public propertySelectedRanges
Gets the selected ranges.
(Inherited from SelectionBase.)
Public propertySelectedRangesCount
Gets the selected ranges count.
(Inherited from SelectionBase.)
Public propertyShapes
Gets the selected shapes.
Top
Events
  NameDescription
Public eventActiveCellModeChanged
Occurs when the active cell mode is changed.
Public eventSelectionChanged
Occurs when the selection is changed.
(Inherited from SelectionBase.)
Public eventSelectionChanging
Occurs when the selection is changing.
(Inherited from SelectionBase.)
Public eventSelectionChangingCanceled
Occurs when the selection changing is canceled.
(Inherited from SelectionBase.)
Public eventSelectionTypeChanged
Occurs when the selection type is changed between cell selection and shape selection.
Public eventSelectionUpdate
Occurs on selection update.
(Inherited from SelectionBase.)
Top
See Also