Class RowColumnSelectionBase
Abstract base for row and column selections, providing property management, outlining, and range-based operations on entire rows or columns.
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public abstract class RowColumnSelectionBase : SelectionBase
Methods
ClearOutlineLevel()
Removes the outline level from the selected rows or columns, ungrouping them completely.
Declaration
public void ClearOutlineLevel()
GetFromToIndexFromRange(CellRange, out Int32, out Int32)
Extracts the start and end row or column indices from the specified cell range.
Declaration
protected abstract void GetFromToIndexFromRange(CellRange cellRange, out int fromIndex, out int toIndex)
Parameters
|
CellRange
cellRange
The cell range. |
|
System.Int32
fromIndex
From index. |
|
System.Int32
toIndex
To index. |
GetOutlineLevel()
Gets the outline level for the selected rows or columns, indicating the current grouping depth.
Declaration
public abstract RangePropertyValue<int> GetOutlineLevel()
Returns
|
RangePropertyValue<System.Int32>
The outline level. |
GetPropertyValue<T>(IPropertyDefinition<T>)
Gets the property value across the selected row or column ranges, resolving to a single value or indeterminate state if values differ.
Declaration
protected RangePropertyValue<T> GetPropertyValue<T>(IPropertyDefinition<T> property)
Parameters
|
IPropertyDefinition<T>
property
The property. |
Returns
|
RangePropertyValue<T>
|
Type Parameters
|
T
The type of the T. |
Group()
Increases the outline level of rows or columns in the current selection to group them for collapsing; the selection must be a single continuous range.
Declaration
public bool Group()
Returns
|
System.Boolean
A value indicating whether at least part of the selection was grouped successfully. |
SetOutlineLevel(Int32)
Sets the outline level for the selected rows or columns, determining grouping depth for collapse and expand operations.
Declaration
public void SetOutlineLevel(int value)
Parameters
|
System.Int32
value
The outline level. |
Ungroup()
Decreases the outline level of rows or columns in the current selection to ungroup them; the selection must be a single continuous range.
Declaration
public bool Ungroup()
Returns
|
System.Boolean
A value indicating whether at least part of the selection was ungrouped successfully. |