Graph |
The GraphController type exposes the following members.
| Name | Description | |
|---|---|---|
| ActiveLayer | Returns the currently active layer. There is always an active layer. | |
| AutoZoomFactor | Gets the current zoom factor that would be used for auto zoom, but does not set it. Does not change any member variables. | |
| CloseCommand |
Gets the command that closes the view content.
(Inherited from AbstractViewContent) | |
| CloseWithSolution |
Gets whether this view content should be closed when the solution is closed.
(Inherited from AbstractViewContent) | |
| ContentId |
Gets or sets the content identifier. Here, the content identifier is calculated of the reference hash of the document.
Setting is not implemented here.
(Inherited from AbstractViewContent) | |
| CurrentGraphTool | Gets or sets the currently selected graph tool. | |
| CurrentLayerNumber | Get / sets the currently active layer by number. | |
| CurrentPlotNumber | Get / sets the currently active plot by number. | |
| Doc | Gets the graph document displayed by the controller. | |
| FactorForGraphToMouseCoordinateConversion | Factor for conversion of graph units (in points = 1/72 inch) to mouse coordinates. The resolution used for this is _screenResolutionDpi. | |
| GraphTool | Gets or sets the graph tool. (Setting is done via binding from the control). | |
| IconSource |
Gets or sets the icon source.
(Inherited from AbstractViewContent) | |
| InfoTip |
Gets or sets the informational tooltip for the view content.
(Inherited from AbstractViewContent) | |
| InitiallyFocusedControl |
Gets the control which has focus initially.
(Inherited from AbstractViewContent) | |
| IsActive |
Gets or sets a value indicating whether the view of this instance is active in the UI.
(Inherited from AbstractViewContent) | |
| IsAutoZoomActive | Enables / disable the autozoom feature. | |
| IsContentVisible |
Gets a value indicating whether the content of this document window is visible (it is if either IsActive or IsSelected is visible.
(Inherited from AbstractViewContent) | |
| IsDirty |
If this property returns true the content has changed since
the last load/save operation.
(Inherited from AbstractViewContent) | |
| IsDisposed |
Gets a value indicating whether the view content has been disposed.
(Inherited from AbstractViewContent) | |
| IsDisposeInProgress |
Gets or sets a value indicating whether disposal is in progress.
(Inherited from AbstractViewContent) | |
| IsOverlayPaintingRequired | Gets a value indicating whether overlay painting is required. | |
| IsReadOnly |
Gets if the view content is read-only (can be saved only when choosing another file name).
(Inherited from AbstractViewContent) | |
| IsSelected |
Gets or sets a value indicating whether the view of this instance is selected (e.g. inside its container).
(Inherited from AbstractViewContent) | |
| IsViewOnly |
Gets if the view content is view-only (cannot be saved at all).
(Inherited from AbstractViewContent) | |
| IsVisible |
Gets or sets the visibility of the document.
If false, the document tab header is not visible (but the document itself maybe visible !).
If true, the document tab header is visible (if it fits in the bar),
and the document is visible, if it is selected, too.
(Inherited from AbstractViewContent) | |
| Margin | Gets or sets the margin. A value of 0 indicates that if autozoom is active, there is no margin around the graph. A value of 1 means that there is a right and left margin of 100 percent of the graph width, and a top and bottom margin of 100 percent of the graph heigth. | |
| ModelObject |
Gets the model (document) that this controller manages.
(Overrides AbstractViewContentModelObject) | |
| NonPageAreaColor | Gets the color of the non page area, i.e. the area that not belongs to the graph. | |
| NumberOfSelectedObjects | Returns the number of selected objects into this graph. | |
| PositionOfViewportsUpperLeftCornerInGraphCoordinates | Gets or sets the position of the view port window's upper left corner in graph coordinates. | |
| RootLayer | Returns the layer collection. Is the same as m_GraphDocument.XYPlotLayer. | |
| SelectedObjects | Gets the currently selected hit-test objects. | |
| SelectedRealObjects | Gets the objects currently selected. The returned objects are not the HitTestObjects, but the hitted objects itself. | |
| Services |
Gets or sets the service container for the view content.
(Inherited from AbstractViewContent) | |
| SizeOfGraphWithMargin | Gets the size (in points = 1/72 inch) of the graph with margin (without zoom). | |
| SizeOfGraphWithMarginZoomed | Gets the size (in points = 1/72 inch) of the graph with margin with taking into account the current zoom factor. This can be much greater than the actual viewport size, if the zoom factor exceeds the auto zoom factor. | |
| Title |
Gets/Sets the title of the current tab page.
This value will be passed through the string parser before being displayed.
(Inherited from AbstractViewContent) | |
| UseDocumentCopy | Sets whether the controller should work on a document copy. | |
| ViewObject |
Gets or sets the GUI element that shows the model to the user.
(Overrides AbstractViewContentViewObject) | |
| ZoomFactor | Zoom value of the graph view. If this property is set, AutoZoom will be set to false. |