New to Telerik UI for WPFStart a free 30-day trial

Represents a decoration over a RadCartesianChart plot area. Adds major and minor lines, connected to each Major and Minor tick of each axis.

Definition

Constructors

Initializes a new instance of the CartesianChartGrid class.

C#
public CartesianChartGrid()

Fields

Identifies the MajorLinesVisibility dependency property.

C#
public static readonly DependencyProperty MajorLinesVisibilityProperty

MajorXLineDashArrayProperty

DependencyProperty

Identifies the MajorXLineDashArray property.

C#
public static readonly DependencyProperty MajorXLineDashArrayProperty

MajorXLineStyleProperty

DependencyProperty

Identifies the MajorXLineStyle property.

C#
public static readonly DependencyProperty MajorXLineStyleProperty

MajorYLineDashArrayProperty

DependencyProperty

Identifies the MajorYLineDashArray property.

C#
public static readonly DependencyProperty MajorYLineDashArrayProperty

MajorYLineStyleProperty

DependencyProperty

Identifies the MajorYLineStyle property.

C#
public static readonly DependencyProperty MajorYLineStyleProperty

Identifies the MinorLinesVisibility dependency property.

C#
public static readonly DependencyProperty MinorLinesVisibilityProperty

Identifies the MinorStripLinesVisibility dependency property.

C#
public static readonly DependencyProperty MinorStripLinesVisibilityProperty

MinorXLineDashArrayProperty

DependencyProperty

Identifies the MinorXLineDashArray property.

C#
public static readonly DependencyProperty MinorXLineDashArrayProperty

MinorXLineStyleProperty

DependencyProperty

Identifies the MinorXLineStyle property.

C#
public static readonly DependencyProperty MinorXLineStyleProperty

MinorYLineDashArrayProperty

DependencyProperty

Identifies the MinorYLineDashArray property.

C#
public static readonly DependencyProperty MinorYLineDashArrayProperty

MinorYLineStyleProperty

DependencyProperty

Identifies the MinorYLineStyle property.

C#
public static readonly DependencyProperty MinorYLineStyleProperty

Identifies the StripLinesVisibility dependency property.

C#
public static readonly DependencyProperty StripLinesVisibilityProperty

Properties

Gets or sets the visibility of major grid lines.

C#
public GridLineVisibility MajorLinesVisibility { get; set; }

MajorXLineDashArray

DoubleCollection

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

C#
public DoubleCollection MajorXLineDashArray { get; set; }

Gets or sets the major-x-line interval.

C#
public int MajorXLineInterval { get; set; }

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

C#
public GridLineRenderMode MajorXLinesRenderMode { get; set; }

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

C#
public Style MajorXLineStyle { get; set; }

MajorYLineDashArray

DoubleCollection

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

C#
public DoubleCollection MajorYLineDashArray { get; set; }

Gets or sets the major-y-line interval.

C#
public int MajorYLineInterval { get; set; }

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

C#
public GridLineRenderMode MajorYLinesRenderMode { get; set; }

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

C#
public Style MajorYLineStyle { get; set; }

Gets or sets the visibility of minor grid lines.

C#
public GridLineVisibility MinorLinesVisibility { get; set; }

Gets or sets the visibility of grid's Stripes.

C#
public GridLineVisibility MinorStripLinesVisibility { get; set; }

MinorXLineDashArray

DoubleCollection

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

C#
public DoubleCollection MinorXLineDashArray { get; set; }

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

C#
public Style MinorXLineStyle { get; set; }

MinorYLineDashArray

DoubleCollection

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

C#
public DoubleCollection MinorYLineDashArray { get; set; }

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

C#
public Style MinorYLineStyle { get; set; }

Gets or sets the visibility of grid's Stripes.

C#
public GridLineVisibility StripLinesVisibility { get; set; }

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

C#
public ObservableCollection<Brush> XStripeBrushes { get; }

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

C#
public ObservableCollection<Brush> YStripeBrushes { get; }

Methods

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

C#
public override void OnApplyTemplate()

Overrides: PresenterBase.OnApplyTemplate()

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

C#
protected override void OnAttached()

Overrides: ChartElementPresenter.OnAttached()

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

C#
protected override AutomationPeer OnCreateAutomationPeer()
Returns:

AutomationPeer

The type-specific AutomationPeer implementation.

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

C#
protected override void OnDetached(RadChartBase oldChart)
Parameters:oldChartRadChartBase

Overrides: ChartElementPresenter.OnDetached(RadChartBase)

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Overrides: PresenterBase.OnInitialized(EventArgs)