Class
CanvasGrid

Panel which measures its children like a Canvas when MeasureChildrenWithInfinity is true, otherwise it acts like Grid.

Definition

Namespace:Telerik.Windows.Controls.Callout

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public class CanvasGrid : Grid

Inheritance: objectCanvasGrid

Constructors

CanvasGrid()

Declaration

cs-api-definition
public CanvasGrid()

Properties

MeasureChildrenWithInfinity

Gets or sets a value indicating whether this panel will measure its children with infinity like in Canvas.

Declaration

cs-api-definition
public bool MeasureChildrenWithInfinity { get; set; }

Property Value

bool

Methods

ArrangeOverride(Size)

Provides the behavior for the "Arrange" pass of layout.

Declaration

cs-api-definition
protected override Size ArrangeOverride(Size arrangeSize)

Parameters

arrangeSize

Size

The final area within the parent that this element should use to arrange itself and its children.

Returns

Size

The actual size used.

MeasureOverride(Size)

Provides the behavior for the "Measure" pass of layout.

Declaration

cs-api-definition
protected override Size MeasureOverride(Size constraint)

Parameters

constraint

Size

The available size that this element can give to child elements.

Returns

Size

The size that this element determines it needs during layout, based on its calculations of child element sizes.