RowSelection
Manages a selection of entire rows, providing access to row-specific properties like height, hidden state, and outline level for formatting and manipulation.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Model
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class RowSelection : RowColumnSelectionBase
Inheritance: objectSelectionBaseRowColumnSelectionBaseRowSelection
Inherited Members
Methods
Adjusts the height of selected rows to automatically fit their content.
public void AutoFitHeight()
Removes custom height settings from the selected rows, reverting them to the default height.
public void ClearHeight()
Removes the hidden state from the selected rows, making them visible.
public void ClearHidden()
Gets the height value for the selected rows, or an indeterminate state if heights differ across the selection.
public RangePropertyValue<RowHeight> GetHeight()
The height for the selection.
Gets whether the selected rows are hidden, or an indeterminate state if visibility differs across the selection.
public RangePropertyValue<bool> GetHidden()
The value of the hidden property
Gets the outline level of the selected rows, indicating their grouping depth for collapse and expand.
public override RangePropertyValue<int> GetOutlineLevel()
The outline level.
Overrides:
Inserts new rows at the positions of the selected rows, shifting existing rows downward.
Deletes the selected rows from the worksheet, shifting remaining rows upward.
public void Remove()
Applies border styling to all cells within the selected rows.
public override void SetBorders(CellBorders value)
The value.
Overrides:
Applies the specified height to all rows in the selection.
Shows or hides the selected rows in the worksheet.
public void SetHidden(bool value)
The value indicating whether the selected rows are hidden.