Class CanvasGrid
Panel which measures its children like a System.Windows.Controls.Canvas when MeasureChildrenWithInfinity is true, otherwise it acts like Grid.
Inheritance
Namespace: Telerik.Windows.Controls.Callout
Assembly: Telerik.Windows.Controls.dll
Syntax
public class CanvasGrid : Grid
Constructors
CanvasGrid()
Declaration
public CanvasGrid()
Properties
MeasureChildrenWithInfinity
Gets or sets a value indicating whether this panel will measure its children with infinity like in System.Windows.Controls.Canvas.
Declaration
public bool MeasureChildrenWithInfinity { get; set; }
Property Value
System.Boolean
|
Methods
ArrangeOverride(Size)
Provides the behavior for the "Arrange" pass of layout.
Declaration
protected override Size ArrangeOverride(Size arrangeSize)
Parameters
System.Windows.Size
arrangeSize
The final area within the parent that this element should use to arrange itself and its children. |
Returns
System.Windows.Size
The actual size used. |
MeasureOverride(Size)
Provides the behavior for the "Measure" pass of layout.
Declaration
protected override Size MeasureOverride(Size constraint)
Parameters
System.Windows.Size
constraint
The available size that this element can give to child elements. |
Returns
System.Windows.Size
The size that this element determines it needs during layout, based on its calculations of child element sizes. |