Search
Overview.Document Property
See Also
 





Gets or sets the Diagram instance whose content to display in this overview control.

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

 Syntax

C#  Copy Code

public Diagram Document { get; set; }

Visual Basic  Copy Code

Public Property Document As Diagram

 Property Value

A Diagram instance bound to this Overview control.

 Remarks

The overview control needs a Diagram reference to present the diagram in overview mode.

 Example

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>

 See Also