Search
DiagramView3D Class
Remarks See Also
 





Displays the elements of a Diagram in 3D space.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public class DiagramView3D : Control

Visual Basic  Copy Code

Public Class DiagramView3D
    Inherits Control

 Remarks

Assign the Diagram that should be displayed in this view to the Diagram property. DiagramView3D adds a 3D model to the scene for each node or link of the specified diagram. The positions of nodes in 3D coordinate space are specified via the Position3D attached property. Links are rendered as straight lines connecting the 3D node models. By default, nodes always face the camera, unless NodeRotationType is set to None.

The following mouse and keyboard actions allow moving the camera around the 3D scene:

  • Mouse drag: Moves the camera across the plane orthogonal to direction of the camera.
  • CTRL+mouse drag: Orbits the camera around its focus point.
  • Mouse wheel: Moves the camera forwards or backwards along its look direction.

 Inheritance Hierarchy

System.Object
    System.Windows.Threading.DispatcherObject
        System.Windows.DependencyObject
            System.Windows.Media.Visual
                System.Windows.UIElement
                    System.Windows.FrameworkElement
                        System.Windows.Controls.Control
                            MindFusion.Diagramming.Wpf.DiagramView3D

 See Also