Class ChartCartesianAxisLayoutPanel
Represents ChartCartesianAxisLayoutPanel
Inheritance
System.Object
ChartCartesianAxisLayoutPanel
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.WPF.dll
Syntax
public class ChartCartesianAxisLayoutPanel : ILayoutCalculator
Constructors
ChartCartesianAxisLayoutPanel(Panel)
Initializes a new instance of the ChartCartesianAxisLayoutPanel class.
Declaration
public ChartCartesianAxisLayoutPanel(Panel panel)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Controls.Panel | panel | The Panel |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
Properties
Area
Gets or sets the chart area where the panel is bounded.
Declaration
public ChartBase Area { get; set; }
Property Value
Type |
---|
ChartBase |
Children
Gets the children count in the panel.
Declaration
public List<UIElement> Children { get; }
Property Value
Type |
---|
System.Collections.Generic.List<System.Windows.UIElement> |
DesiredSize
Gets the desired size of the panel.
Declaration
public Size DesiredSize { get; }
Property Value
Type |
---|
System.Windows.Size |
Left
Gets or sets the left value for ILayoutCalculator.
Declaration
protected double Left { get; set; }
Property Value
Type |
---|
System.Double |
Panel
Gets the panel.
Declaration
public Panel Panel { get; }
Property Value
Type | Description |
---|---|
System.Windows.Controls.Panel | The panel. |
Top
Gets or sets the right value for ILayoutCalculator.
Declaration
protected double Top { get; set; }
Property Value
Type |
---|
System.Double |
Methods
Arrange(Size)
Layouts the axis.
Declaration
public Size Arrange(Size finalSize)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | finalSize | The final size used to arrange axes. |
Returns
Type |
---|
System.Windows.Size |
DetachElements()
Seek the elements from the panel.
Declaration
public void DetachElements()
Measure(Size)
Measures the elements in the panel.
Declaration
public Size Measure(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | availableSize | available size of the panel. |
Returns
Type | Description |
---|---|
System.Windows.Size | Returns the desired size |
UpdateElements()
Adds the elements inside the panel.
Declaration
public void UpdateElements()
Explicit Interface Implementations
ILayoutCalculator.Left
Declaration
double ILayoutCalculator.Left { get; set; }
Returns
Type |
---|
System.Double |
ILayoutCalculator.Top
Declaration
double ILayoutCalculator.Top { get; set; }
Returns
Type |
---|
System.Double |