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.
Inherited Members
Namespace: Telerik.Windows.Controls.ChartView
Assembly: Telerik.Windows.Controls.Chart.dll
Syntax
public class CartesianChartGrid : ChartElementPresenter, IChartElementPresenterWithMargin, IChartElementPresenter
Constructors
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
OnAttached()
Occurs when the presenter has been successfully attached to its owning RadChartBase instance.
Declaration
protected override void OnAttached()
Overrides
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
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. |