Gets or sets the Diagram instance whose content to display in this overview control.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public Diagram Document { get; set; } |
Visual Basic Copy Code |
---|
Public Property Document As Diagram |
The overview control needs a Diagram reference to present the diagram in overview mode.
The following Xaml code binds an Overview control to a Diagram instance called "diagram":
Xaml Copy Code |
---|
<Wpf:Overview Name="ovw" DockPanel.Dock="Right" Height="100" Width="100" ScaleMode="FitAll" > <Wpf:Overview.Document> <Binding ElementName="diagram" /> </Wpf:Overview.Document> </Wpf:Overview> |
WpfDiagram Programmer's Guide | © 2024 MindFusion |