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:
public class CanvasGrid : Grid
Inheritance: objectCanvasGrid
Constructors
public CanvasGrid()
Properties
Gets or sets a value indicating whether this panel will measure its children with infinity like in Canvas.
public bool MeasureChildrenWithInfinity { get; set; }
Methods
Provides the behavior for the "Arrange" pass of layout.
protected override Size ArrangeOverride(Size arrangeSize)
The final area within the parent that this element should use to arrange itself and its children.
Returns:Size
The actual size used.
Provides the behavior for the "Measure" pass of layout.
protected override Size MeasureOverride(Size constraint)
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.