Class ChartGrid
Represents ChartGrid class.
Inheritance
Namespace: Syncfusion.Windows.Chart
Assembly: Syncfusion.Chart.Wpf.dll
Syntax
public sealed class ChartGrid : UniformGrid
Remarks
Class instance is created automatically by WPF Chart building system.
Constructors
ChartGrid()
Initializes a new instance of the ChartGrid class.
Declaration
public ChartGrid()
Fields
AutoColumnsCountProperty
Identifies the AutoColumnsCount dependency property.
Declaration
public static readonly DependencyProperty AutoColumnsCountProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
AutoRowsCountProperty
Identifies the AutoRowsCount dependency property.
Declaration
public static readonly DependencyProperty AutoRowsCountProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
CalcCoefficientProperty
Identifies the CalcCoefficient dependency property.
Declaration
public static readonly DependencyProperty CalcCoefficientProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
CalcTypeProperty
Identifies the CalcType dependency property.
Declaration
public static readonly DependencyProperty CalcTypeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
OrientationProperty
Identifies the Orientation dependency property.
Declaration
public static readonly DependencyProperty OrientationProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
See Also
Properties
AutoColumnsCount
Gets or sets the AutoColumnsCount
Declaration
public int AutoColumnsCount { get; set; }
Property Value
Type |
---|
System.Int32 |
AutoRowsCount
Gets or sets the AutoRowsCount
Declaration
public int AutoRowsCount { get; set; }
Property Value
Type |
---|
System.Int32 |
CalcCoefficient
Gets or sets the CalcCoefficient
Declaration
public double CalcCoefficient { get; set; }
Property Value
Type |
---|
System.Double |
CalcType
Gets or sets the ChartGrid CalcCellType
Declaration
public ChartGridCalcCellType CalcType { get; set; }
Property Value
Type |
---|
ChartGridCalcCellType |
Orientation
Gets or sets the Orientation
Declaration
public Orientation Orientation { get; set; }
Property Value
Type |
---|
System.Windows.Controls.Orientation |
Methods
MeasureOverride(Size)
Computes the desired size of the System.Windows.Controls.Primitives.UniformGrid by measuring all of the child elements.
Declaration
protected override Size MeasureOverride(Size constraint)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | constraint | The System.Windows.Size of the available area for the grid. |
Returns
Type | Description |
---|---|
System.Windows.Size | The desired System.Windows.Size based on the child content of the grid and the constraint parameter. |
OnVisualChildrenChanged(DependencyObject, DependencyObject)
Invoked when the System.Windows.Media.VisualCollection of a visual object is modified.
Declaration
protected override void OnVisualChildrenChanged(DependencyObject visualAdded, DependencyObject visualRemoved)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | visualAdded | The System.Windows.Media.Visual that was added to the collection. |
System.Windows.DependencyObject | visualRemoved | The System.Windows.Media.Visual that was removed from the collection. |