Class
CartesianChartGrid

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:

cs-api-definition
public class CartesianChartGrid : ChartGrid, IChartElementPresenter, IElementPresenter

Inheritance: objectRadControlPresenterBaseChartElementPresenterChartGridCartesianChartGrid

Implements: IChartElementPresenterIElementPresenter

Inherited Members ChartGrid.DefaultStripeBrushPropertyChartGrid.DefaultStripeBrushChartElementPresenter.ZIndexChartElementPresenter.ChartPresenterBase.InfinitySizePresenterBase.InfinityPointPresenterBase.RefreshNode(object)PresenterBase.InvalidatePalette()PresenterBase.MeasureNodeOverride(Node, object)PresenterBase.ApplyTemplateCore()PresenterBase.RefreshNodeCore(Node)PresenterBase.CreateContentPresenter(object, DataTemplate)PresenterBase.RenderSurfacePresenterBase.CompositorPresenterBase.ContainerVisualRootRadControl.EndVisualStateUpdate(bool, bool)RadControl.UpdateVisualState(bool)RadControl.BeginVisualStateUpdate()RadControl.SetVisualState(string, bool)RadControl.CanUpdateVisualState()RadControl.ComposeVisualStateName()RadControl.MeasureOverride(Size)RadControl.ArrangeOverride(Size)RadControl.UnapplyTemplateCore()RadControl.OnIsEnabledChanged(bool, bool)RadControl.OnTemplateApplied()RadControl.LoadCore()RadControl.OnLoaded()RadControl.UnloadCore()RadControl.CurrentVisualStateRadControl.IsLoadedRadControl.IsLoadingRadControl.IsUnloadedRadControl.WasUnloadedRadControl.IsTemplateApplied

Constructors

CartesianChartGrid()

Initializes a new instance of the CartesianChartGrid class.

Declaration

cs-api-definition
public CartesianChartGrid()

Fields

MajorGridLinesVisibilityProperty

Identifies the MajorGridLinesVisibility dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MajorGridLinesVisibilityProperty

Field Value

DependencyProperty

MajorStripLinesVisibilityProperty

Identifies the MajorStripLinesVisibility dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MajorStripLinesVisibilityProperty

Field Value

DependencyProperty

MajorXLineStyleProperty

Identifies the MajorXLineStyle property.

Declaration

cs-api-definition
public static readonly DependencyProperty MajorXLineStyleProperty

Field Value

DependencyProperty

MajorYLineStyleProperty

Identifies the MajorYLineStyle property.

Declaration

cs-api-definition
public static readonly DependencyProperty MajorYLineStyleProperty

Field Value

DependencyProperty

MinorGridLinesVisibilityProperty

Identifies the MinorGridLinesVisibility dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinorGridLinesVisibilityProperty

Field Value

DependencyProperty

MinorStripLinesVisibilityProperty

Identifies the MinorStripLinesVisibility dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinorStripLinesVisibilityProperty

Field Value

DependencyProperty

MinorXLineStyleProperty

Identifies the MinorXLineStyle property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinorXLineStyleProperty

Field Value

DependencyProperty

MinorYLineStyleProperty

Identifies the MinorYLineStyle property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinorYLineStyleProperty

Field Value

DependencyProperty

Properties

MajorGridLinesVisibility

Gets or sets the visibility of major grid lines.

Declaration

cs-api-definition
public GridLineVisibility MajorGridLinesVisibility { get; set; }

Property Value

GridLineVisibility

MajorStripLinesVisibility

Gets or sets the visibility of grid's Stripes.

Declaration

cs-api-definition
public GridLineVisibility MajorStripLinesVisibility { get; set; }

Property Value

GridLineVisibility

MajorXLineStyle

Gets or sets the style that defines the appearance of the major lines along the X-axis.

Declaration

cs-api-definition
public Style MajorXLineStyle { get; set; }

Property Value

Style

MajorXLinesRenderMode

Gets or sets the render mode of major X-lines.

Declaration

cs-api-definition
public GridLineRenderMode MajorXLinesRenderMode { get; set; }

Property Value

GridLineRenderMode

MajorYLineStyle

Gets or sets the style that defines the appearance of the major lines along the Y-axis.

Declaration

cs-api-definition
public Style MajorYLineStyle { get; set; }

Property Value

Style

MajorYLinesRenderMode

Gets or sets the render mode of major X-lines.

Declaration

cs-api-definition
public GridLineRenderMode MajorYLinesRenderMode { get; set; }

Property Value

GridLineRenderMode

MinorGridLinesVisibility

Gets or sets the visibility of major grid lines.

Declaration

cs-api-definition
public GridLineVisibility MinorGridLinesVisibility { get; set; }

Property Value

GridLineVisibility

MinorStripLinesVisibility

Gets or sets the visibility of grid's Stripes.

Declaration

cs-api-definition
public GridLineVisibility MinorStripLinesVisibility { get; set; }

Property Value

GridLineVisibility

MinorXLineStyle

Gets or sets the style that defines the appearance of the minor lines along the X-axis.

Declaration

cs-api-definition
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

cs-api-definition
public Style MinorYLineStyle { get; set; }

Property Value

Style

XStripeBrushes

Gets the collection of brushes used to display X-axis stripes.

Declaration

cs-api-definition
public ObservableCollection<Brush> XStripeBrushes { get; }

Property Value

ObservableCollection<Brush>

YStripeBrushes

Gets the collection of styles used to display Y-axis stripes.

Declaration

cs-api-definition
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

cs-api-definition
protected override void OnApplyTemplate()

Overrides RadControl.OnApplyTemplate()

OnAttached()

Occurs when the presenter has been successfully attached to its owning RadChartBase instance.

Declaration

cs-api-definition
protected override void OnAttached()

Overrides ChartElementPresenter.OnAttached()

OnCreateAutomationPeer()

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

Overrides RadControl.OnCreateAutomationPeer()

OnDetached(RadChartBase)

Occurs when the presenter has been successfully detached from its owning RadChartBase instance.

Declaration

cs-api-definition
protected override void OnDetached(RadChartBase oldChart)

Parameters

oldChart

RadChartBase

Overrides ChartElementPresenter.OnDetached(RadChartBase)