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

This class represents a base class for 3D control implementations.

Inheritance
System.Object
Control3D<TControl>
AxisItem3D
BaseChartItemControl3D<TControl>
Box3D
GridLine3D
ItemsControl3D<TControl>
Plane3D<TControl>
StripLine3D
Namespace: Telerik.Windows.Controls.Charting
Assembly: Telerik.Windows.Controls.Charting.dll

Syntax

public class Control3D<TControl> : UIElement3D, IControl3D, ILogicalItem where TControl : IModelControl3D, new()
Type Parameters
TControl

The type of the model control.

Constructors

Control3D()

Initializes a new instance of the Control3D<TControl> class.

Declaration
public Control3D()

Fields

ControlContainerProperty

Identifies the ControlContainer attached dependency property.

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

MaterialProperty

Identifies the System.Windows.Media.Media3D.Material attached dependency property.

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

Properties

BeginTime

Gets the begin time of the animation.

Declaration
public virtual TimeSpan BeginTime { get; }
Property Value
System.TimeSpan

Control

Gets the underlying 2D control associated with the current 3D control.

Declaration
public UIElement Control { get; }
Property Value
System.Windows.UIElement

Implements
IControl3D.Control

ControlContainer

Gets or sets the controls container.

Declaration
public Panel ControlContainer { get; set; }
Property Value
System.Windows.Controls.Panel

ModelControl

Gets the model control.

Declaration
public virtual IModelControl3D ModelControl { get; }
Property Value
IModelControl3D

ModelElement

Gets the model element in the 3D space.

Declaration
public virtual UIElement3D ModelElement { get; }
Property Value
System.Windows.UIElement3D

MouseEnterStoryboard

Gets the storyboard associated with the mouse enter event.

Declaration
protected BeginStoryboard MouseEnterStoryboard { get; }
Property Value
System.Windows.Media.Animation.BeginStoryboard

MouseLeaveStoryboard

Gets the storyboard associated with the mouse leave event.

Declaration
protected BeginStoryboard MouseLeaveStoryboard { get; }
Property Value
System.Windows.Media.Animation.BeginStoryboard

The mouse leave storyboard.

Visual3DChildrenCount

Gets the number of child elements for the System.Windows.Media.Media3D.Visual3D object.

Declaration
protected override int Visual3DChildrenCount { get; }
Property Value
System.Int32

The number of child elements.

Methods

ChildItemAdded(UIElement3D, Int32)

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

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

The child element being added.

System.Int32 itemIndex

Index of the item.

Implements
IControl3D.ChildItemAdded(UIElement3D, Int32)

ChildItemRemoved(UIElement3D, Int32)

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

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

The child element being removed.

System.Int32 itemIndex

Index of the item.

Implements
IControl3D.ChildItemRemoved(UIElement3D, Int32)

ClearContainer()

Invoked whenever the control container should be cleared.

Declaration
public virtual void ClearContainer()
Implements
IControl3D.ClearContainer()

CreateControl()

Creates the model control for the current 3D control.

Declaration
protected virtual TControl CreateControl()
Returns
TControl

FindStoryboard(Control, DependencyProperty, Object)

Retrieves a storyboard.

Declaration
protected static BeginStoryboard FindStoryboard(Control control, DependencyProperty dependencyProperty, object propertyValue)
Parameters
System.Windows.Controls.Control control

System.Windows.DependencyProperty dependencyProperty

System.Object propertyValue

Returns
System.Windows.Media.Animation.BeginStoryboard

GetVisual3DChild(Int32)

Returns the specified System.Windows.Media.Media3D.Visual3D in the parent System.Windows.Media.Media3D.Visual3DCollection.

Declaration
protected override Visual3D GetVisual3DChild(int index)
Parameters
System.Int32 index

The index of the 3-D visual object in the collection.

Returns
System.Windows.Media.Media3D.Visual3D

The child in the collection at the specified index value.

Exceptions
System.ArgumentOutOfRangeException

The index value is invalid.

InitializeModelControl(IModelControl3D)

Initializes the model control of the current 3D control.

Declaration
public void InitializeModelControl(IModelControl3D modelControl)
Parameters
IModelControl3D modelControl

The model control.

Implements
IControl3D.InitializeModelControl(IModelControl3D)

OnApplyTemplate(Control)

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

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

OnControlContainerChanged()

Invoked whenever the control container has been changed.

Declaration
public virtual void OnControlContainerChanged()
Implements
IControl3D.OnControlContainerChanged()

OnModelControlAttached()

Invoked whenever a model control has been attached to the 3D control.

Declaration
protected virtual void OnModelControlAttached()

OnModelControlCreated()

Invoked whenever a model control has been created for the 3D control.

Declaration
protected virtual void OnModelControlCreated()

OnMouseEnter(MouseEventArgs)

Invoked when an unhandled System.Windows.Input.Mouse.MouseEnter attached event is raised on this element. Implement this method to add class handling for this event.

Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
System.Windows.Input.MouseEventArgs e

The System.Windows.Input.MouseEventArgs that contains the event data.

OnMouseLeave(MouseEventArgs)

Invoked when an unhandled System.Windows.Input.Mouse.MouseLeave attached event is raised on this element. Implement this method to add class handling for this event.

Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
System.Windows.Input.MouseEventArgs e

The System.Windows.Input.MouseEventArgs that contains the event data.

OnVisualParentChanged(DependencyObject)

Invoked when the parent element of this System.Windows.UIElement3D reports a change to its underlying visual parent.

Declaration
protected override void OnVisualParentChanged(DependencyObject oldParent)
Parameters
System.Windows.DependencyObject oldParent

The previous parent. This may be provided as null if the System.Windows.DependencyObject did not have a parent element previously.

RegisterNames()

Provides an accessor that simplifies access to the NameScope registration method.

Declaration
protected void RegisterNames()

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.