ViewportPane
Represents a viewport pane within a worksheet view, defining a rectangular region and its visible cell range.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Layout
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class ViewportPane
Inheritance: objectViewportPane
Constructors
Initializes a new ViewportPane with the specified rectangle and type.
public ViewportPane(Rect rect, ViewportPaneType viewportPaneType)
The rect.
viewportPaneTypeViewportPaneTypeType of the viewport pane.
Initializes a new ViewportPane with the specified type.
public ViewportPane(ViewportPaneType viewportPaneType)
Type of the viewport pane.
Properties
Gets or sets the bounding rectangle defining this pane's position and size in view coordinates.
public Rect BoundingRect { get; }
The bounding rect.
Gets whether this pane has zero width or height.
public bool IsEmpty { get; }
The is empty.
Gets or sets the rectangle defining this pane's position and size in document coordinates.
public Rect Rect { get; }
The rect.
Gets the type of this viewport pane, indicating its position relative to frozen rows and columns.
public ViewportPaneType ViewportPaneType { get; }
The type of the viewport pane.
Gets or sets the cell range currently visible within this viewport pane.
public CellRange VisibleRange { get; }
The visible range.