Class ChartAxisHeaderPanel
Represents a panel used to layout and manage the header and associated elements of a chart axis.
Inheritance
System.Object
ChartAxisHeaderPanel
Implements
Namespace: Syncfusion.UI.Xaml.Charts.Panels
Assembly: Syncfusion.Chart.WinUI.dll
Syntax
public class ChartAxisHeaderPanel : Object, ILayoutCalculator
Remarks
This class implements the ILayoutCalculator interface to provide layout functionality for chart axis headers. It manages child elements, calculates layout sizes, and handles positioning of the header content and associated elements.
Constructors
ChartAxisHeaderPanel()
Initializes a new instance of the ChartAxisHeaderPanel class.
Declaration
public ChartAxisHeaderPanel()
Properties
Children
Gets Children property
Declaration
public List<UIElement> Children { get; }
Property Value
| Type |
|---|
| System.Collections.Generic.List<Microsoft.UI.Xaml.UIElement> |
DesiredSize
Gets desiredSize property
Declaration
public Size DesiredSize { get; }
Property Value
| Type |
|---|
| Windows.Foundation.Size |
Left
Gets or sets the left.
Declaration
public double Left { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double | The left. |
Panel
Gets the panel.
Declaration
public Panel Panel { get; }
Property Value
| Type | Description |
|---|---|
| Microsoft.UI.Xaml.Controls.Panel | The panel. |
Top
Gets or sets the top.
Declaration
public double Top { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double | The top. |
Methods
Arrange(Size)
Method to arrage the elements in panel
Declaration
public 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
public void DetachElements()
Measure(Size)
Method to measure the panel.
Declaration
public 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
public void UpdateElements()