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 CellPosition class.
Declaration
public CellPosition(CellPositionValidator cellPositionValidator)
Parameters
CellPositionValidator
cellPositionValidator
The cell position validator. |
Properties
CellIndex
Gets the index of the cell.
Declaration
public CellIndex CellIndex { get; }
Property Value
CellIndex
The index of the cell. |
ColumnIndex
Gets the index of the column.
Declaration
public override int ColumnIndex { get; }
Property Value
System.Int32
The index of the column. |
Overrides
RowIndex
Gets the index of the row.
Declaration
public override int RowIndex { get; }
Property Value
System.Int32
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.Boolean
|
MoveToColumnStart()
Moves to column start.
Declaration
public bool MoveToColumnStart()
Returns
System.Boolean
|
MoveToFirstCell()
Moves to first cell.
Declaration
public bool MoveToFirstCell()
Returns
System.Boolean
|
MoveToIndex(Int32, Int32)
Moves to index.
Declaration
public bool MoveToIndex(int rowIndex, int columnIndex)
Parameters
System.Int32
rowIndex
Index of the row. |
System.Int32
columnIndex
Index of the column. |
Returns
System.Boolean
|
MoveToIndex(CellIndex)
Moves to index.
Declaration
public bool MoveToIndex(CellIndex cellIndex)
Parameters
CellIndex
cellIndex
Index of the cell. |
Returns
System.Boolean
|
MoveToNextColumn(Boolean)
Moves to next column.
Declaration
public bool MoveToNextColumn(bool isSelectionInProgress = false)
Parameters
System.Boolean
isSelectionInProgress
|
Returns
System.Boolean
|
MoveToNextRow(Boolean)
Moves to next row.
Declaration
public bool MoveToNextRow(bool isSelectionInProgress = false)
Parameters
System.Boolean
isSelectionInProgress
|
Returns
System.Boolean
|
MoveToPosition(CellPosition)
Moves to position.
Declaration
public bool MoveToPosition(CellPosition position)
Parameters
CellPosition
position
The position. |
Returns
System.Boolean
|
MoveToPreviousColumn(Boolean)
Moves to previous column.
Declaration
public bool MoveToPreviousColumn(bool isSelectionInProgress = false)
Parameters
System.Boolean
isSelectionInProgress
|
Returns
System.Boolean
|
MoveToPreviousRow(Boolean)
Moves to previous row.
Declaration
public bool MoveToPreviousRow(bool isSelectionInProgress = false)
Parameters
System.Boolean
isSelectionInProgress
|
Returns
System.Boolean
|
MoveToRowEnd()
Moves to row end.
Declaration
public bool MoveToRowEnd()
Returns
System.Boolean
|
MoveToRowStart()
Moves to row start.
Declaration
public bool MoveToRowStart()
Returns
System.Boolean
|
OnPositionChanged()
Raises the PositionChanged event.
Declaration
protected virtual void OnPositionChanged()
OnPositionChanging(PositionChangingEventArgs)
Raises the PositionChanging event.
Declaration
protected virtual void OnPositionChanging(PositionChangingEventArgs args)
Parameters
PositionChangingEventArgs
args
The PositionChangingEventArgs instance containing the event data. |
OnPositionChangingCanceled()
Raises the PositionChangingCanceled event.
Declaration
protected virtual void OnPositionChangingCanceled()
Events
PositionChanged
Occurs when the position is changed.
Declaration
public event EventHandler PositionChanged
Event Type
System.EventHandler
|
PositionChanging
Occurs when the position is changing.
Declaration
public event EventHandler<PositionChangingEventArgs> PositionChanging
Event Type
System.EventHandler<PositionChangingEventArgs>
|
PositionChangingCanceled
Occurs when the position changing is canceled.
Declaration
public event EventHandler PositionChangingCanceled
Event Type
System.EventHandler
|