Class Overview
- Namespace
- Northwoods.Go
- Assembly
- Northwoods.GoDiagram.WinForms.dll
An Overview is a Diagram that displays all of a different diagram, with a rectangular box showing the viewport displayed by that other diagram.
public class Overview : Diagram, IHasContextMenu, IHasToolTip
- Inheritance
-
Overview
- Implements
- Inherited Members
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.
public Overview()
Properties
Box
public Part Box { get; set; }
Property Value
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.
public bool DrawsTemporaryLayers { get; set; }
Property Value
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.
public Diagram Observed { get; set; }