Class
LayoutBox

Abstract base for positioned rectangular regions in worksheet layout, providing bounds for rendering calculations.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Layout

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

cs-api-definition
public abstract class LayoutBox

Inheritance: objectLayoutBox

Derived Classes: CellLayoutBoxColumnLayoutBoxRowLayoutBox

Properties

BoundingRectangle

Complete rectangular bounds with rounded coordinates for rendering precision.

Declaration

cs-api-definition
public Rect BoundingRectangle { get; }

Property Value

Rect

The bounding rectangle.

Height

Vertical extent of this layout box in layout units.

Declaration

cs-api-definition
public double Height { get; }

Property Value

double

The height of the box.

Left

Horizontal position of the left edge of this layout box in layout coordinates.

Declaration

cs-api-definition
public double Left { get; }

Property Value

double

The position of the box according to the x-axis.

Size

Combined width and height dimensions of this layout box.

Declaration

cs-api-definition
public Size Size { get; }

Property Value

Size

The size of the box.

Top

Vertical position of the top edge of this layout box in layout coordinates.

Declaration

cs-api-definition
public double Top { get; }

Property Value

double

The position of the box according to the y-axis.

Width

Horizontal extent of this layout box in layout units.

Declaration

cs-api-definition
public double Width { get; }

Property Value

double

The width of the box.

Methods

ToString()

Converts the layout box to a string showing its bounding rectangle coordinates.

Declaration

cs-api-definition
public override string ToString()

Returns

string

A string that represents the current object.

Overrides object.ToString()