Gets the document plane of the diagram.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public UIElement DocumentPlane { get; } |
Visual Basic Copy Code |
---|
Public ReadOnly Property DocumentPlane As UIElement |
An instance of the .NET UIElement class.
DocumentPlane is visual child of diagram and ancestor of all diagram items. The DocumentPlane element is translated with respect to Diagram element so that the point Diagram.Bounds.TopLeft from the DocumentPlane is rendered at Diagram element location (0,0) The coordinate system of the DocumentPlane is the document coordinate system. The inteded use of this property is mainly in MouseMove event handling.
WpfDiagram Programmer's Guide | © 2024 MindFusion |