Overview
The Overview control is a Diagram that tries to display all of the model shown by a different Diagram, with a rectangular box showing the viewport displayed by that other diagram.
Inherits: Diagram
Constructors
public Overview()
overview = Overview()
Create an Overview control -- you need to set its Observed property to refer to a different Diagram before it becomes useful.
Properties
protected Node Box { get; set; }
value = overview.Box
overview.Box = value
Gets or sets the Node used to display the rectangle whose bounds are the Observed's viewport.
public DataTemplate BoxTemplate { get; set; }
value = overview.BoxTemplate
overview.BoxTemplate = value
Gets or sets the DataTemplate used to render the Box showing the Observed's viewport into its model.
public Diagram Observed { get; set; }
value = overview.Observed
overview.Observed = value
Gets or sets the Diagram for which this Overview is displaying a model and showing its viewport into that model.
public bool UsesObservedLinkRoute { get; set; }
value = overview.UsesObservedLinkRoute
overview.UsesObservedLinkRoute = value
Gets or sets whether this Overview uses the Route's Points of each Link in the ObservedDiagram to route the links in this overview.
public bool UsesObservedNodeLocation { get; set; }
value = overview.UsesObservedNodeLocation
overview.UsesObservedNodeLocation = value
Gets or sets whether this Overview uses the Location of each Node in the ObservedDiagram to position the nodes in this overview.
public bool UsesObservedPartVisible { get; set; }
value = overview.UsesObservedPartVisible
overview.UsesObservedPartVisible = value
Gets or sets whether this Overview uses the Visible of each Node or Link in the ObservedDiagram to show the nodes and links in this overview.
public bool UsesObservedTemplates { get; set; }
value = overview.UsesObservedTemplates
overview.UsesObservedTemplates = value
Gets or sets whether this Overview uses the DataTemplates used by the ObservedDiagram.
Methods
protected virtual Node CreateBox()
result = overview.CreateBox()
Create the Box using the BoxTemplate data template.
public override void OnApplyTemplate()
overview.OnApplyTemplate()
Make sure the Overview is bound to the ObservedDiagram.
Fields
public static readonly DependencyProperty BoxTemplateProperty
value = Overview.BoxTemplateProperty
Identifies the BoxTemplate dependency property.
public static readonly DependencyProperty ObservedProperty
value = Overview.ObservedProperty
Identifies the Observed dependency property.
public static readonly DependencyProperty UsesObservedLinkRouteProperty
value = Overview.UsesObservedLinkRouteProperty
Identifies the UsesObservedLinkRoute dependency property.
public static readonly DependencyProperty UsesObservedNodeLocationProperty
value = Overview.UsesObservedNodeLocationProperty
Identifies the UsesObservedNodeLocation dependency property.
public static readonly DependencyProperty UsesObservedPartVisibleProperty
value = Overview.UsesObservedPartVisibleProperty
Identifies the UsesObservedPartVisible dependency property.
public static readonly DependencyProperty UsesObservedTemplatesProperty
value = Overview.UsesObservedTemplatesProperty
Identifies the UsesObservedTemplates dependency property.