Class ModelVisual3D
Visual that contains 3-D models.
Inherited Members
Namespace: Telerik.Windows.Media.Media3D
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public class ModelVisual3D : Visual3DElementBase, INotifyPropertyChanged, ITreeElement3D, ITreeNode3D
Constructors
ModelVisual3D()
Initializes a new instance of the ModelVisual3D class.
Declaration
public ModelVisual3D()
Fields
ContentProperty
Identifies the Content dependency property.
Declaration
public static readonly DependencyProperty ContentProperty
Field Value
System.Windows.DependencyProperty
|
Properties
Children
Gets a collection of child Visual3D objects.
Declaration
public Visual3DCollection Children { get; }
Property Value
Visual3DCollection
|
Content
Gets or sets the model that comprises the content of the ModelVisual3D. This is a dependency property.
Declaration
public Model3D Content { get; set; }
Property Value
Model3D
|
Visual3DChildrenCount
Returns the number of child objects.
Declaration
protected override int Visual3DChildrenCount { get; }
Property Value
System.Int32
|
Overrides
Methods
ContentChangedHandler(DependencyObject, DependencyPropertyChangedEventArgs)
Content property changed callback.
Declaration
protected static void ContentChangedHandler(DependencyObject source, DependencyPropertyChangedEventArgs eventArgs)
Parameters
System.Windows.DependencyObject
source
Source. |
System.Windows.DependencyPropertyChangedEventArgs
eventArgs
Event Args. |
OnAncestor3DChanged(ITreeNode3D, ITreeNode3D)
Called after the parent of the target
is changed.
Declaration
protected override void OnAncestor3DChanged(ITreeNode3D target, ITreeNode3D oldParent)
Parameters
ITreeNode3D
target
The element whose parent is changed. |
ITreeNode3D
oldParent
The old parent. |
Overrides
OnAncestor3DChanging(ITreeNode3D, ITreeNode3D)
Called before the parent of the target
is changed to newParent
.
Declaration
protected override void OnAncestor3DChanging(ITreeNode3D target, ITreeNode3D newParent)
Parameters
ITreeNode3D
target
The element whose parent is being changed. |
ITreeNode3D
newParent
The parent that will be set. |