Class CellPosition
Represents the cell position.
Inherited Members
Namespace: Telerik.WinForms.Controls.Spreadsheet.Worksheets
Assembly: Telerik.WinControls.RadSpreadsheet.dll
Syntax
public class CellPosition : CellIndexBase, IComparable<CellIndexBase>
Constructors
CellPosition()
CellPosition(CellPositionValidator)
Initializes a new instance of the Cell
Declaration
public CellPosition(CellPositionValidator cellPositionValidator)
Parameters
Cell The cell position validator. |
Properties
CellIndex
Gets the index of the cell.
Declaration
public CellIndex CellIndex { get; }
Property Value
Cell The index of the cell. |
ColumnIndex
Gets the index of the column.
Declaration
public override int ColumnIndex { get; }
Property Value
System. The index of the column. |
Overrides
RowIndex
Gets the index of the row.
Declaration
public override int RowIndex { get; }
Property Value
System. The index of the row. |
Overrides
Methods
BeginUpdate()
Begins the update.
Declaration
public void BeginUpdate()
EndUpdate()
Ends the update.
Declaration
public void EndUpdate()
MoveToColumnEnd()
Moves to column end.
Declaration
public bool MoveToColumnEnd()
Returns
System.
|
MoveToColumnStart()
Moves to column start.
Declaration
public bool MoveToColumnStart()
Returns
System.
|
MoveToFirstCell()
Moves to first cell.
Declaration
public bool MoveToFirstCell()
Returns
System.
|
MoveToIndex(Int32, Int32)
Moves to index.
Declaration
public bool MoveToIndex(int rowIndex, int columnIndex)
Parameters
System. Index of the row. |
System. Index of the column. |
Returns
System.
|
MoveToIndex(CellIndex)
Moves to index.
Declaration
public bool MoveToIndex(CellIndex cellIndex)
Parameters
Cell Index of the cell. |
Returns
System.
|
MoveToNextColumn(Boolean)
Moves to next column.
Declaration
public bool MoveToNextColumn(bool isSelectionInProgress = false)
Parameters
System.
|
Returns
System.
|
MoveToNextRow(Boolean)
Moves to next row.
Declaration
public bool MoveToNextRow(bool isSelectionInProgress = false)
Parameters
System.
|
Returns
System.
|
MoveToPosition(CellPosition)
Moves to position.
Declaration
public bool MoveToPosition(CellPosition position)
Parameters
Cell The position. |
Returns
System.
|
MoveToPreviousColumn(Boolean)
Moves to previous column.
Declaration
public bool MoveToPreviousColumn(bool isSelectionInProgress = false)
Parameters
System.
|
Returns
System.
|
MoveToPreviousRow(Boolean)
Moves to previous row.
Declaration
public bool MoveToPreviousRow(bool isSelectionInProgress = false)
Parameters
System.
|
Returns
System.
|
MoveToRowEnd()
Moves to row end.
Declaration
public bool MoveToRowEnd()
Returns
System.
|
MoveToRowStart()
Moves to row start.
Declaration
public bool MoveToRowStart()
Returns
System.
|
OnPositionChanged()
Raises the Position
Declaration
protected virtual void OnPositionChanged()
OnPositionChanging(PositionChangingEventArgs)
Raises the Position
Declaration
protected virtual void OnPositionChanging(PositionChangingEventArgs args)
Parameters
Position The Position |
OnPositionChangingCanceled()
Raises the Position
Declaration
protected virtual void OnPositionChangingCanceled()
Events
PositionChanged
Occurs when the position is changed.
Declaration
public event EventHandler PositionChanged
Event Type
System.
|
PositionChanging
Occurs when the position is changing.
Declaration
public event EventHandler<PositionChangingEventArgs> PositionChanging
Event Type
System.
|
PositionChangingCanceled
Occurs when the position changing is canceled.
Declaration
public event EventHandler PositionChangingCanceled
Event Type
System.
|