ClassCanvasGrid
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
CanvasGrid()
Declaration
public CanvasGrid()
Properties
MeasureChildrenWithInfinity
Gets or sets a value indicating whether this panel will measure its children with infinity like in Canvas.
Declaration
public bool MeasureChildrenWithInfinity { get; set; }
Property Value
Methods
ArrangeOverride(Size)
Provides the behavior for the "Arrange" pass of layout.
Declaration
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
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.