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