skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

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.

Inheritance
System.Object
RadControlBase
PresenterBase
ChartElementPresenter
CartesianChartGrid
Inherited Members
ChartElementPresenter.OnPropertyChanged(DependencyPropertyChangedEventArgs)
ChartElementPresenter.ZIndex
ChartElementPresenter.Chart
PresenterBase.InfinitySize
PresenterBase.InfinityPoint
PresenterBase.IChartElementPresenter.MeasureContent(ChartNode, Object)
PresenterBase.IChartElementPresenter.MeasureVisual(ChartNode, RadSize)
PresenterBase.RefreshNode(ChartNode)
PresenterBase.InvalidatePalette()
PresenterBase.MeasureNodeOverride(ChartNode, Object)
PresenterBase.RefreshNodeCore(ChartNode)
PresenterBase.CreateContentPresenter(Object, DataTemplate)
PresenterBase.IChartElementPresenter.IsVisible
PresenterBase.RenderSurface
RadControlBase.OnUnloaded(Object, RoutedEventArgs)
RadControlBase.OnLoaded(Object, RoutedEventArgs)
RadControlBase.IsLoaded
RadControlBase.IsTemplateApplied
Namespace: Telerik.Windows.Controls.ChartView
Assembly: Telerik.Windows.Controls.Chart.dll

Syntax

public class CartesianChartGrid : ChartElementPresenter, IChartElementPresenterWithMargin, IChartElementPresenter

Constructors

CartesianChartGrid()

Initializes a new instance of the CartesianChartGrid class.

Declaration
public CartesianChartGrid()

Fields

MajorLinesVisibilityProperty

Identifies the MajorLinesVisibility dependency property.

Declaration
public static readonly DependencyProperty MajorLinesVisibilityProperty
Field Value
System.Windows.DependencyProperty

MajorXLineDashArrayProperty

Identifies the MajorXLineDashArray property.

Declaration
public static readonly DependencyProperty MajorXLineDashArrayProperty
Field Value
System.Windows.DependencyProperty

MajorXLineStyleProperty

Identifies the MajorXLineStyle property.

Declaration
public static readonly DependencyProperty MajorXLineStyleProperty
Field Value
System.Windows.DependencyProperty

MajorYLineDashArrayProperty

Identifies the MajorYLineDashArray property.

Declaration
public static readonly DependencyProperty MajorYLineDashArrayProperty
Field Value
System.Windows.DependencyProperty

MajorYLineStyleProperty

Identifies the MajorYLineStyle property.

Declaration
public static readonly DependencyProperty MajorYLineStyleProperty
Field Value
System.Windows.DependencyProperty

MinorLinesVisibilityProperty

Identifies the MinorLinesVisibility dependency property.

Declaration
public static readonly DependencyProperty MinorLinesVisibilityProperty
Field Value
System.Windows.DependencyProperty

MinorStripLinesVisibilityProperty

Identifies the MinorStripLinesVisibility dependency property.

Declaration
public static readonly DependencyProperty MinorStripLinesVisibilityProperty
Field Value
System.Windows.DependencyProperty

MinorXLineDashArrayProperty

Identifies the MinorXLineDashArray property.

Declaration
public static readonly DependencyProperty MinorXLineDashArrayProperty
Field Value
System.Windows.DependencyProperty

MinorXLineStyleProperty

Identifies the MinorXLineStyle property.

Declaration
public static readonly DependencyProperty MinorXLineStyleProperty
Field Value
System.Windows.DependencyProperty

MinorYLineDashArrayProperty

Identifies the MinorYLineDashArray property.

Declaration
public static readonly DependencyProperty MinorYLineDashArrayProperty
Field Value
System.Windows.DependencyProperty

MinorYLineStyleProperty

Identifies the MinorYLineStyle property.

Declaration
public static readonly DependencyProperty MinorYLineStyleProperty
Field Value
System.Windows.DependencyProperty

StripLinesVisibilityProperty

Identifies the StripLinesVisibility dependency property.

Declaration
public static readonly DependencyProperty StripLinesVisibilityProperty
Field Value
System.Windows.DependencyProperty

Properties

MajorLinesVisibility

Gets or sets the visibility of major grid lines.

Declaration
public GridLineVisibility MajorLinesVisibility { get; set; }
Property Value
GridLineVisibility

MajorXLineDashArray

Gets or sets the dash array used to define each major X-line StrokeDashArray property.

Declaration
public DoubleCollection MajorXLineDashArray { get; set; }
Property Value
System.Windows.Media.DoubleCollection

MajorXLineInterval

Gets or sets the major-x-line interval.

Declaration
public int MajorXLineInterval { get; set; }
Property Value
System.Int32

MajorXLinesRenderMode

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

Declaration
public GridLineRenderMode MajorXLinesRenderMode { get; set; }
Property Value
GridLineRenderMode

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
System.Windows.Style

MajorYLineDashArray

Gets or sets the dash array used to define each major Y-line StrokeDashArray property.

Declaration
public DoubleCollection MajorYLineDashArray { get; set; }
Property Value
System.Windows.Media.DoubleCollection

MajorYLineInterval

Gets or sets the major-y-line interval.

Declaration
public int MajorYLineInterval { get; set; }
Property Value
System.Int32

MajorYLinesRenderMode

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

Declaration
public GridLineRenderMode MajorYLinesRenderMode { get; set; }
Property Value
GridLineRenderMode

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
System.Windows.Style

MinorLinesVisibility

Gets or sets the visibility of minor grid lines.

Declaration
public GridLineVisibility MinorLinesVisibility { get; set; }
Property Value
GridLineVisibility

MinorStripLinesVisibility

Gets or sets the visibility of grid's Stripes.

Declaration
public GridLineVisibility MinorStripLinesVisibility { get; set; }
Property Value
GridLineVisibility

MinorXLineDashArray

Gets or sets the dash array used to define each minor X-line StrokeDashArray property.

Declaration
public DoubleCollection MinorXLineDashArray { get; set; }
Property Value
System.Windows.Media.DoubleCollection

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
System.Windows.Style

MinorYLineDashArray

Gets or sets the dash array used to define each minor Y-line StrokeDashArray property.

Declaration
public DoubleCollection MinorYLineDashArray { get; set; }
Property Value
System.Windows.Media.DoubleCollection

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
System.Windows.Style

StripLinesVisibility

Gets or sets the visibility of grid's Stripes.

Declaration
public GridLineVisibility StripLinesVisibility { get; set; }
Property Value
GridLineVisibility

XStripeBrushes

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

Declaration
public ObservableCollection<Brush> XStripeBrushes { get; }
Property Value
System.Collections.ObjectModel.ObservableCollection<System.Windows.Media.Brush>

YStripeBrushes

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

Declaration
public ObservableCollection<Brush> YStripeBrushes { get; }
Property Value
System.Collections.ObjectModel.ObservableCollection<System.Windows.Media.Brush>

Methods

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call System.Windows.Controls.Control.ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.

Declaration
public override void OnApplyTemplate()
Overrides
PresenterBase.OnApplyTemplate()

OnAttached()

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

Declaration
protected override void OnAttached()
Overrides
ChartElementPresenter.OnAttached()

OnCreateAutomationPeer()

Returns class-specific System.Windows.Automation.Peers.AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer

The type-specific System.Windows.Automation.Peers.AutomationPeer implementation.

OnDetached(RadChartBase)

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

Declaration
protected override void OnDetached(RadChartBase oldChart)
Parameters
RadChartBase oldChart

Overrides
ChartElementPresenter.OnDetached(RadChartBase)

OnInitialized(EventArgs)

Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.

Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs e

The System.Windows.RoutedEventArgs that contains the event data.

Overrides
PresenterBase.OnInitialized(EventArgs)

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.