Class CellPositionValidator
Represents cell position validator.
Inheritance
Inherited Members
Namespace: Telerik.WinForms.Controls.Spreadsheet.Worksheets
Assembly: Telerik.WinControls.RadSpreadsheet.dll
Syntax
public class CellPositionValidator
Constructors
CellPositionValidator()
Initializes a new instance of the Cell
Declaration
public CellPositionValidator()
Properties
Worksheet
Gets the worksheet.
Declaration
public Worksheet Worksheet { get; }
Property Value
Worksheet
The worksheet. |
WorksheetEditor
Gets the worksheet editor.
Declaration
public RadWorksheetEditor WorksheetEditor { get; }
Property Value
Rad The worksheet editor. |
Methods
EnsureValidCellPosition(CellIndex, CellIndex, Nullable<Boolean>)
Ensures the cell position is valid.
Declaration
public CellIndex EnsureValidCellPosition(CellIndex oldCellIndex, CellIndex newCellIndex, bool? isVerticalMove)
Parameters
Cell Old index of the cell. |
Cell New index of the cell. |
System. The is vertical move. |
Returns
Cell The validated cell index. |
ExpandRangeRespectingMergedCells(CellRange)
Expands the range respecting merged cells.
Declaration
public CellRange ExpandRangeRespectingMergedCells(CellRange cellRange)
Parameters
Cell The cell range. |
Returns
Cell The expanded cell range. |