ClassRowColumnSelectionBase
Abstract base for row and column selections, providing property management, outlining, and range-based operations on entire rows or columns.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Model
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public abstract class RowColumnSelectionBase : SelectionBase
Inheritance: objectSelectionBaseRowColumnSelectionBase
Derived Classes:
Inherited Members
Methods
ClearOutlineLevel()
Removes the outline level from the selected rows or columns, ungrouping them completely.
Declaration
public void ClearOutlineLevel()
GetFromToIndexFromRange(CellRange, out int, out int)
Extracts the start and end row or column indices from the specified cell range.
GetOutlineLevel()
Gets the outline level for the selected rows or columns, indicating the current grouping depth.
Declaration
public abstract RangePropertyValue<int> GetOutlineLevel()
Returns
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
property
The property.
Returns
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
A value indicating whether at least part of the selection was grouped successfully.
SetOutlineLevel(int)
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
value
The outline level.