Class ChartCartesianGridLinesPanel
Represents ChartCartesianGridLinesPanel.
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.UWP.dll
Syntax
public class ChartCartesianGridLinesPanel : Object, ILayoutCalculator
Constructors
ChartCartesianGridLinesPanel(Panel)
Initializes a new instance of the ChartCartesianGridLinesPanel class.
Declaration
public ChartCartesianGridLinesPanel(Panel panel)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Controls.Panel | panel | The Panel |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | System.ArgumentNullException may be thrown |
Properties
Children
Gets the children count in the panel.
Declaration
public List<UIElement> Children { get; }
Property Value
Type |
---|
System.Collections.Generic.List<Windows.UI.Xaml.UIElement> |
DesiredSize
Gets the desired size of the panel.
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 |
---|---|
Windows.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)
Arrranges the elements inside a panel.
Declaration
public Size Arrange(Size finalSize)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Size | finalSize | final size of the panel. |
Returns
Type | Description |
---|---|
Windows.Foundation.Size | Returns Size |
Arrange3D(Size)
Arrranges the elements inside a panel.
Declaration
public Size Arrange3D(Size finalSize)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Size | finalSize | Final size of the panel. |
Returns
Type | Description |
---|---|
Windows.Foundation.Size | Returns Size |
DetachElements()
Seek the elements.
Declaration
public void DetachElements()
DrawGridLines(ChartAxis)
Draws the Gridlines at definite intervals in ChartAxis
Declaration
public void DrawGridLines(ChartAxis axis)
Parameters
Type | Name | Description |
---|---|---|
ChartAxis | axis | Relevant ChartAxis |
DrawGridLines3D(ChartAxis)
Draws the Gridlines at definite intervals in ChartAxis
Declaration
public void DrawGridLines3D(ChartAxis axis)
Parameters
Type | Name | Description |
---|---|---|
ChartAxis | axis | Relevant ChartAxis |
Measure(Size)
Measures the elements in the panel.
Declaration
public Size Measure(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Size | availableSize | Available size of the panel. |
Returns
Type | Description |
---|---|
Windows.Foundation.Size | Returns Size |
UpdateElements()
Adds the elements in the panel.
Declaration
public void UpdateElements()
UpdateGridLines(ChartAxis)
Adds the Gridlines for the axis.
Declaration
public void UpdateGridLines(ChartAxis axis)
Parameters
Type | Name | Description |
---|---|---|
ChartAxis | axis | The Axis |