New to Telerik UI for WinFormsStart a free 30-day trial

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:

C#
public abstract class LayoutBox

Inheritance: objectLayoutBox

Derived Classes: CellLayoutBoxColumnLayoutBoxRowLayoutBox

Properties

Complete rectangular bounds with rounded coordinates for rendering precision.

C#
public Rect BoundingRectangle { get; }
Property Value:

The bounding rectangle.

Vertical extent of this layout box in layout units.

C#
public double Height { get; }
Property Value:

The height of the box.

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

C#
public double Left { get; }
Property Value:

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

Combined width and height dimensions of this layout box.

C#
public Size Size { get; }
Property Value:

The size of the box.

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

C#
public double Top { get; }
Property Value:

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

Horizontal extent of this layout box in layout units.

C#
public double Width { get; }
Property Value:

The width of the box.

Methods

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

C#
public override string ToString()
Returns:

string

A string that represents the current object.

Overrides: object.ToString()