ClassCartesianChartGrid
Represents a decoration over a RadCartesianChart plot area. Adds major and minor lines, connected to each Major and Minor tick of each axis.
Definition
Namespace:Telerik.UI.Xaml.Controls.Chart
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class CartesianChartGrid : ChartGrid, IChartElementPresenter, IElementPresenter
Inheritance: objectRadControlPresenterBaseChartElementPresenterChartGridCartesianChartGrid
Implements:
Inherited Members
Constructors
CartesianChartGrid()
Initializes a new instance of the CartesianChartGrid class.
Declaration
public CartesianChartGrid()
Fields
MajorGridLinesVisibilityProperty
Identifies the MajorGridLinesVisibility dependency property.
Declaration
public static readonly DependencyProperty MajorGridLinesVisibilityProperty
Field Value
DependencyProperty
MajorStripLinesVisibilityProperty
Identifies the MajorStripLinesVisibility dependency property.
Declaration
public static readonly DependencyProperty MajorStripLinesVisibilityProperty
Field Value
DependencyProperty
MajorXLineStyleProperty
Identifies the MajorXLineStyle property.
Declaration
public static readonly DependencyProperty MajorXLineStyleProperty
Field Value
DependencyProperty
MajorYLineStyleProperty
Identifies the MajorYLineStyle property.
Declaration
public static readonly DependencyProperty MajorYLineStyleProperty
Field Value
DependencyProperty
MinorGridLinesVisibilityProperty
Identifies the MinorGridLinesVisibility dependency property.
Declaration
public static readonly DependencyProperty MinorGridLinesVisibilityProperty
Field Value
DependencyProperty
MinorStripLinesVisibilityProperty
Identifies the MinorStripLinesVisibility dependency property.
Declaration
public static readonly DependencyProperty MinorStripLinesVisibilityProperty
Field Value
DependencyProperty
MinorXLineStyleProperty
Identifies the MinorXLineStyle property.
Declaration
public static readonly DependencyProperty MinorXLineStyleProperty
Field Value
DependencyProperty
MinorYLineStyleProperty
Identifies the MinorYLineStyle property.
Declaration
public static readonly DependencyProperty MinorYLineStyleProperty
Field Value
DependencyProperty
Properties
MajorGridLinesVisibility
Gets or sets the visibility of major grid lines.
Declaration
public GridLineVisibility MajorGridLinesVisibility { get; set; }
Property Value
MajorStripLinesVisibility
Gets or sets the visibility of grid's Stripes.
Declaration
public GridLineVisibility MajorStripLinesVisibility { get; set; }
Property Value
MajorXLineStyle
Gets or sets the style that defines the appearance of the major lines along the X-axis.
Declaration
public Style MajorXLineStyle { get; set; }
Property Value
Style
MajorXLinesRenderMode
Gets or sets the render mode of major X-lines.
Declaration
public GridLineRenderMode MajorXLinesRenderMode { get; set; }
Property Value
MajorYLineStyle
Gets or sets the style that defines the appearance of the major lines along the Y-axis.
Declaration
public Style MajorYLineStyle { get; set; }
Property Value
Style
MajorYLinesRenderMode
Gets or sets the render mode of major X-lines.
Declaration
public GridLineRenderMode MajorYLinesRenderMode { get; set; }
Property Value
MinorGridLinesVisibility
Gets or sets the visibility of major grid lines.
Declaration
public GridLineVisibility MinorGridLinesVisibility { get; set; }
Property Value
MinorStripLinesVisibility
Gets or sets the visibility of grid's Stripes.
Declaration
public GridLineVisibility MinorStripLinesVisibility { get; set; }
Property Value
MinorXLineStyle
Gets or sets the style that defines the appearance of the minor lines along the X-axis.
Declaration
public Style MinorXLineStyle { get; set; }
Property Value
Style
MinorYLineStyle
Gets or sets the style that defines the appearance of the minor lines along the Y-axis.
Declaration
public Style MinorYLineStyle { get; set; }
Property Value
Style
XStripeBrushes
Gets the collection of brushes used to display X-axis stripes.
Declaration
public ObservableCollection<Brush> XStripeBrushes { get; }
Property Value
ObservableCollection<Brush>
YStripeBrushes
Gets the collection of styles used to display Y-axis stripes.
Declaration
public ObservableCollection<Brush> YStripeBrushes { get; }
Property Value
ObservableCollection<Brush>
Methods
OnApplyTemplate()
Invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate.
Declaration
protected override void OnApplyTemplate()
Overrides
OnAttached()
Occurs when the presenter has been successfully attached to its owning RadChartBase instance.
Declaration
protected override void OnAttached()
Overrides
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
Overrides
OnDetached(RadChartBase)
Occurs when the presenter has been successfully detached from its owning RadChartBase instance.
Declaration
protected override void OnDetached(RadChartBase oldChart)
Parameters
oldChart
Overrides