Interface ILayoutCalculator
This interfaces defines the members and methods to create and arrange the child elements in a panel.
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.Chart.WinUI.dll
Syntax
public interface ILayoutCalculator
Properties
Children
Gets Children property
Declaration
List<UIElement> Children { get; }
Property Value
Type |
---|
System.Collections.Generic.List<Microsoft.UI.Xaml.UIElement> |
DesiredSize
Gets desiredSize property
Declaration
Size DesiredSize { get; }
Property Value
Type |
---|
Windows.Foundation.Size |
Left
Gets or sets the left.
Declaration
double Left { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The left. |
Panel
Gets the panel.
Declaration
Panel Panel { get; }
Property Value
Type | Description |
---|---|
Microsoft.UI.Xaml.Controls.Panel | The panel. |
Top
Gets or sets the top.
Declaration
double Top { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The top. |
Methods
Arrange(Size)
Method to arrage the elements in panel
Declaration
Size Arrange(Size finalSize)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Size | finalSize |
Returns
Type |
---|
Windows.Foundation.Size |
DetachElements()
Method to detachs elements from the panel.
Declaration
void DetachElements()
Measure(Size)
Method to measure the panel.
Declaration
Size Measure(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Size | availableSize |
Returns
Type |
---|
Windows.Foundation.Size |
UpdateElements()
Method to update the elements (Children ) in the panel.
Declaration
void UpdateElements()