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 Axis3D<TControl>

This class represents the base class for axes in the 3D space.

Inheritance
System.Object
Control3D<TControl>
ItemsControl3D<TControl>
Axis3D<TControl>
AxisX3D
AxisY3D
AxisZ3D
Inherited Members
ItemsControl3D<TControl>.ItemsSourceProperty
ItemsControl3D<TControl>.OnModelControlCreated()
ItemsControl3D<TControl>.IItemsControl.get_Visibility()
ItemsControl3D<TControl>.IItemsControl.set_Visibility(Visibility)
ItemsControl3D<TControl>.Children
ItemsControl3D<TControl>.ItemsSource
ItemsControl3D<TControl>.Container
Control3D<TControl>.ControlContainerProperty
Control3D<TControl>.MaterialProperty
Control3D<TControl>.OnControlContainerChanged()
Control3D<TControl>.InitializeModelControl(IModelControl3D)
Control3D<TControl>.ClearContainer()
Control3D<TControl>.FindStoryboard(Control, DependencyProperty, Object)
Control3D<TControl>.CreateControl()
Control3D<TControl>.OnModelControlAttached()
Control3D<TControl>.GetVisual3DChild(Int32)
Control3D<TControl>.OnMouseEnter(MouseEventArgs)
Control3D<TControl>.OnMouseLeave(MouseEventArgs)
Control3D<TControl>.OnVisualParentChanged(DependencyObject)
Control3D<TControl>.RegisterNames()
Control3D<TControl>.BeginTime
Control3D<TControl>.ModelElement
Control3D<TControl>.Control
Control3D<TControl>.ControlContainer
Control3D<TControl>.ModelControl
Control3D<TControl>.Visual3DChildrenCount
Control3D<TControl>.MouseEnterStoryboard
Control3D<TControl>.MouseLeaveStoryboard
Namespace: Telerik.Windows.Controls.Charting
Assembly: Telerik.Windows.Controls.Charting.dll

Syntax

public abstract class Axis3D<TControl> : ItemsControl3D<TControl>, IControl3D, ILogicalItem, IItemsControl where TControl : IModelControl3D, new()
Type Parameters
TControl

The type of the 3D control model.

Constructors

Axis3D()

Initializes a new instance of the Axis3D class.

Declaration
protected Axis3D()

Fields

AxisProperty

Identifies the Axis dependency property.

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

AxisTitleLabelProperty

Identifies the AxisTitleLabel dependency property.

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

ParentPlaneProperty

Identifies the ParentPlane dependency property.

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

TickSizeProperty

Identifies the TickSize dependency property.

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

Properties

Axis

Gets or sets the data axis.

Declaration
public IDataAxis Axis { get; set; }
Property Value
IDataAxis

The data axis.

AxisTitleLabel

Gets or sets the axis title label data.

Declaration
public LabelData AxisTitleLabel { get; set; }
Property Value
LabelData

The axis title label data.

LabelsData

Gets the labels for the respective axis items.

Declaration
protected IList<LabelData> LabelsData { get; }
Property Value
System.Collections.Generic.IList<LabelData>

ParentPlane

Gets or sets the parent plane.

Declaration
public IPlane3D ParentPlane { get; set; }
Property Value
IPlane3D

The parent plane.

TickSize

Gets or sets the size of the tick for the respective axis items.

Declaration
public double TickSize { get; set; }
Property Value
System.Double

Methods

AddLabelLayer()

Adds the label layer for the respective axis.

Declaration
protected virtual void AddLabelLayer()

CalculateTickWidth(Int32)

Calculates the width of the axis item tick.

Declaration
protected abstract double CalculateTickWidth(int itemsCount)
Parameters
System.Int32 itemsCount

The total count of items.

Returns
System.Double

ChildItemAdded(UIElement3D, Int32)

Invoked whenever a child element has been added to the 3D control.

Declaration
public override void ChildItemAdded(UIElement3D child, int itemIndex)
Parameters
System.Windows.UIElement3D child

The child element being added.

System.Int32 itemIndex

Index of the item.

Overrides
Telerik.Windows.Controls.Charting.Control3D<TControl>.ChildItemAdded(System.Windows.UIElement3D, System.Int32)

ChildItemRemoved(UIElement3D, Int32)

Invoked whenever a child element has been removed from the 3D control.

Declaration
public override void ChildItemRemoved(UIElement3D child, int itemIndex)
Parameters
System.Windows.UIElement3D child

The child element being removed.

System.Int32 itemIndex

Index of the item.

Overrides
Telerik.Windows.Controls.Charting.Control3D<TControl>.ChildItemRemoved(System.Windows.UIElement3D, System.Int32)

GetItemCoordinates(Int32, Double)

Invoked whenever a child element has been added to the 3D control.

Declaration
protected Point3DCollection GetItemCoordinates(int itemIndex, double tickWidth)
Parameters
System.Int32 itemIndex

Index of the item.

System.Double tickWidth

The width if the item being added.

Returns
System.Windows.Media.Media3D.Point3DCollection

InitAxisTitle()

Adds the axis title for the respective axis.

Declaration
protected void InitAxisTitle()

InitializeAxisItemLabel(TickPointCollection, Int32, Point3DCollection)

Initializes the axis item label.

Declaration
protected virtual LabelData InitializeAxisItemLabel(TickPointCollection ticks, int itemIndex, Point3DCollection pointCoordinates)
Parameters
TickPointCollection ticks

The ticks.

System.Int32 itemIndex

Index of the item.

System.Windows.Media.Media3D.Point3DCollection pointCoordinates

The point coordinates.

Returns
LabelData

OnApplyTemplate(Control)

When overridden in a derived class, is invoked whenever the Template2DApplied event is raised.

Declaration
public override void OnApplyTemplate(Control control)
Parameters
System.Windows.Controls.Control control

Overrides
Telerik.Windows.Controls.Charting.Control3D<TControl>.OnApplyTemplate(System.Windows.Controls.Control)

OnPropertyChanged(DependencyPropertyChangedEventArgs)

Invoked whenever the effective value of any dependency property on this System.Windows.DependencyObject has been updated. The specific dependency property that changed is reported in the event data.

Declaration
protected override void OnPropertyChanged(DependencyPropertyChangedEventArgs e)
Parameters
System.Windows.DependencyPropertyChangedEventArgs e

Event data that will contain the dependency property identifier of interest, the property metadata for the type, and old and new values.

RemoveLabelLayer()

Removes the label layer for the respective axis.

Declaration
protected virtual void RemoveLabelLayer()

SetTitleTransform(LabelData)

Sets the transform of the axis title label.

Declaration
protected virtual void SetTitleTransform(LabelData title)
Parameters
LabelData title

The title label object.

TickEndPoint(Double)

Gets the end point of the tick.

Declaration
protected abstract Point3D TickEndPoint(double dimensionOffset)
Parameters
System.Double dimensionOffset

The dimension offset for the tick.

Returns
System.Windows.Media.Media3D.Point3D

TickStartPoint(Double)

Gets the start point of the tick.

Declaration
protected abstract Point3D TickStartPoint(double dimensionOffset)
Parameters
System.Double dimensionOffset

The dimension offset for the tick.

Returns
System.Windows.Media.Media3D.Point3D

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.