Class Control3D<TControl>
This class represents a base class for 3D control implementations.
Inheritance
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()
Fields
ControlContainerProperty
Identifies the Control
Declaration
public static readonly DependencyProperty ControlContainerProperty
Field Value
System.
|
MaterialProperty
Identifies the System.
Declaration
public static readonly DependencyProperty MaterialProperty
Field Value
System.
|
Properties
BeginTime
Gets the begin time of the animation.
Declaration
public virtual TimeSpan BeginTime { get; }
Property Value
System.
|
Control
Gets the underlying 2D control associated with the current 3D control.
Declaration
public UIElement Control { get; }
Property Value
System.
|
Implements
ControlContainer
Gets or sets the controls container.
Declaration
public Panel ControlContainer { get; set; }
Property Value
System.
|
ModelControl
Gets the model control.
Declaration
public virtual IModelControl3D ModelControl { get; }
Property Value
ModelElement
Gets the model element in the 3D space.
Declaration
public virtual UIElement3D ModelElement { get; }
Property Value
System.
|
MouseEnterStoryboard
Gets the storyboard associated with the mouse enter event.
Declaration
protected BeginStoryboard MouseEnterStoryboard { get; }
Property Value
System.
|
MouseLeaveStoryboard
Gets the storyboard associated with the mouse leave event.
Declaration
protected BeginStoryboard MouseLeaveStoryboard { get; }
Property Value
System. The mouse leave storyboard. |
Visual3DChildrenCount
Gets the number of child elements for the System.
Declaration
protected override int Visual3DChildrenCount { get; }
Property Value
System. 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. The child element being added. |
System. Index of the item. |
Implements
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. The child element being removed. |
System. Index of the item. |
Implements
ClearContainer()
Invoked whenever the control container should be cleared.
Declaration
public virtual void ClearContainer()
Implements
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.
|
System.
|
System.
|
Returns
System.
|
GetVisual3DChild(Int32)
Returns the specified System.
Declaration
protected override Visual3D GetVisual3DChild(int index)
Parameters
System. The index of the 3-D visual object in the collection. |
Returns
System. The child in the collection at the specified |
Exceptions
System. The |
InitializeModelControl(IModelControl3D)
Initializes the model control of the current 3D control.
Declaration
public void InitializeModelControl(IModelControl3D modelControl)
Parameters
IModel The model control. |
Implements
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.
|
OnControlContainerChanged()
Invoked whenever the control container has been changed.
Declaration
public virtual void OnControlContainerChanged()
Implements
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.
Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
System. The System. |
OnMouseLeave(MouseEventArgs)
Invoked when an unhandled System.
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
System. The System. |
OnVisualParentChanged(DependencyObject)
Invoked when the parent element of this System.
Declaration
protected override void OnVisualParentChanged(DependencyObject oldParent)
Parameters
System. The previous parent. This may be provided as null if the System. |
RegisterNames()
Provides an accessor that simplifies access to the NameScope registration method.
Declaration
protected void RegisterNames()