Overview

StockSharp.Xaml.Diagram.GXDiagram

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.

继承自: Diagram

构造函数

Overview()

Create an Overview control -- you need to set its Observed property to refer to a different Diagram before it becomes useful.

属性

Box : Node

Gets or sets the Node used to display the rectangle whose bounds are the Observed's viewport.

BoxTemplate : DataTemplate

Gets or sets the DataTemplate used to render the Box showing the Observed's viewport into its model.

Observed : Diagram

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

UsesObservedLinkRoute : bool

Gets or sets whether this Overview uses the Route's Points of each Link in the ObservedDiagram to route the links in this overview.

UsesObservedNodeLocation : bool

Gets or sets whether this Overview uses the Location of each Node in the ObservedDiagram to position the nodes in this overview.

UsesObservedPartVisible : bool

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.

UsesObservedTemplates : bool

Gets or sets whether this Overview uses the DataTemplates used by the ObservedDiagram.

方法

CreateBox() : Node

Create the Box using the BoxTemplate data template.

OnApplyTemplate()

Make sure the Overview is bound to the ObservedDiagram.

字段

BoxTemplateProperty : DependencyProperty

Identifies the BoxTemplate dependency property.

ObservedProperty : DependencyProperty

Identifies the Observed dependency property.

UsesObservedLinkRouteProperty : DependencyProperty

Identifies the UsesObservedLinkRoute dependency property.

UsesObservedNodeLocationProperty : DependencyProperty

Identifies the UsesObservedNodeLocation dependency property.

UsesObservedPartVisibleProperty : DependencyProperty

Identifies the UsesObservedPartVisible dependency property.

UsesObservedTemplatesProperty : DependencyProperty

Identifies the UsesObservedTemplates dependency property.