Pane
Defines a viewport pane configuration for worksheets with frozen or split rows and columns.
Definition
Namespace:Telerik.Documents.Spreadsheet.Model
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class Pane
Inheritance: objectPane
Constructors
Initializes a new Pane with specified split positions, active viewport, and freeze state.
public Pane(CellIndex topLeftCellIndex, int xSplit, int ySplit, ViewportPaneType activePane, PaneState state = PaneState.Frozen)
Index of the top left cell.
xSplitintThe x split.
ySplitintThe y split.
activePaneViewportPaneTypeThe active pane.
statePaneStateThe state.
Properties
Gets which viewport pane has focus and receives user input.
public ViewportPaneType ActivePane { get; }
The active pane.
Gets whether the pane is frozen or split, controlling scrolling behavior.
public PaneState State { get; }
The state.
Gets the cell index that appears at the top-left corner of the scrollable pane when rows or columns are frozen.
public CellIndex TopLeftCellIndex { get; }
The index of the top left cell of the scrollable pane.
Gets the horizontal split position, representing the number of columns visible in the frozen or split pane.
public int XSplit { get; }
The X split.
Methods
Creates a deep copy of this pane configuration with identical split and state settings.