CellPosition
Represents the cell position.
Definition
Namespace:Telerik.WinForms.Controls.Spreadsheet.Worksheets
Assembly:Telerik.WinControls.RadSpreadsheet.dll
Syntax:
public class CellPosition : CellIndexBase, IComparable<CellIndexBase>
Inheritance: objectCellIndexBaseCellPosition
Implements:
Inherited Members
Constructors
Initializes a new instance of the CellPosition class.
public CellPosition()
Initializes a new instance of the CellPosition class.
public CellPosition(CellPositionValidator cellPositionValidator)
The cell position validator.
Properties
Gets the index of the cell.
public CellIndex CellIndex { get; }
The index of the cell.
Gets the index of the column.
public override int ColumnIndex { get; }
The index of the column.
Overrides:
Methods
Begins the update.
public void BeginUpdate()
Ends the update.
public void EndUpdate()
Moves to column end.
Moves to column start.
Moves to first cell.
Moves to position.
public bool MoveToPosition(CellPosition position)
The position.
Returns:True if succeed.
Moves to row end.
Moves to row start.
Raises the event.
protected virtual void OnPositionChanged()
Raises the event.
protected virtual void OnPositionChanging(PositionChangingEventArgs args)
The PositionChangingEventArgs instance containing the event data.
Raises the event.
protected virtual void OnPositionChangingCanceled()
Expand the selection to the current cell range.
Events
Occurs when the position is changed.
public event EventHandler PositionChanged
Occurs when the position is changing.
public event EventHandler<PositionChangingEventArgs> PositionChanging
Occurs when the position changing is canceled.
public event EventHandler PositionChangingCanceled