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.SfChart.WPF.dll
Syntax
public interface ILayoutCalculator
Properties
Children
Gets Children property
Declaration
List<UIElement> Children { get; }
Property Value
Type |
---|
System.Collections.Generic.List<System.Windows.UIElement> |
DesiredSize
Gets desiredSize property
Declaration
Size DesiredSize { get; }
Property Value
Type |
---|
System.Windows.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 |
---|---|
System.Windows.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 |
---|---|---|
System.Windows.Size | finalSize |
Returns
Type |
---|
System.Windows.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 |
---|---|---|
System.Windows.Size | availableSize |
Returns
Type |
---|
System.Windows.Size |
UpdateElements()
Method to update the elements (Children ) in the panel.
Declaration
void UpdateElements()