Class Overview

GoDiagram®
v10.0.8
by Northwoods Software®

An Overview is a Diagram that displays all of a different diagram, with a rectangular box showing the viewport displayed by that other diagram.

Inheritance
Overview
Namespace: Northwoods.Go
Assembly: Northwoods.GoDiagram.WinForms.dll
Syntax
public class Overview : Diagram, IHasContextMenu, IHasToolTip
Remarks

For more discussion, see Introduction to Overviews.

All you need to do is set Observed:

myOverview = overviewControl1.Diagram as Overview;
myOverview.Observed = myDiagram;

The Overview draws what the observed Diagram is displaying, so setting or modifying any diagram templates or template Maps has no effect.

Animations are not shown in an Overview.

At the current time methods such as MakeImageData(ImageDataProperties) do not work on Overviews.

Constructors

Overview()

Constructs a new Overview. You will not normally call this constructor.

Declaration
public Overview()

Properties

Box

Gets or sets the rectangular Part that represents the viewport of the Observed Diagram.

Declaration
public Part Box { get; set; }
Property Value
Type Description
Part
Remarks

By default the part contains only a magenta Shape. The box's SelectionElement is what is resized by the Overview to the apparent size of the observed diagram's viewport.

DrawsTemporaryLayers

Gets or sets whether this overview draws the temporary layers of the observed Diagram.

Declaration
public bool DrawsTemporaryLayers { get; set; }
Property Value
Type Description
bool
Remarks

The default value is true. Setting this property to false may improve drawing performance, especially if the Grid is visible.

Setting this property does not notify about any changed event.

Observed

Gets the Diagram for which this Overview is displaying a model and showing its viewport into that model.

If the corresponding UI component is not ready, this may be null.

Declaration
public Diagram Observed { get; set; }
Property Value
Type Description
Diagram

Implements