Click or drag to resize

GraphController Properties

The GraphController type exposes the following members.

Properties
 NameDescription
Public propertyActiveLayer Returns the currently active layer. There is always an active layer.
Public propertyAutoZoomFactorGets the current zoom factor that would be used for auto zoom, but does not set it. Does not change any member variables.
Public propertyCloseCommand Gets the command that closes the view content.
(Inherited from AbstractViewContent)
Public propertyCloseWithSolution Gets whether this view content should be closed when the solution is closed.
(Inherited from AbstractViewContent)
Public propertyContentId 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)
Public propertyCurrentGraphTool Gets or sets the currently selected graph tool.
Public propertyCurrentLayerNumber Get / sets the currently active layer by number.
Public propertyCurrentPlotNumber Get / sets the currently active plot by number.
Public propertyDoc Gets the graph document displayed by the controller.
Public propertyFactorForGraphToMouseCoordinateConversion Factor for conversion of graph units (in points = 1/72 inch) to mouse coordinates. The resolution used for this is _screenResolutionDpi.
Public propertyGraphTool Gets or sets the graph tool. (Setting is done via binding from the control).
Public propertyIconSource Gets or sets the icon source.
(Inherited from AbstractViewContent)
Public propertyInfoTip Gets or sets the informational tooltip for the view content.
(Inherited from AbstractViewContent)
Public propertyInitiallyFocusedControl Gets the control which has focus initially.
(Inherited from AbstractViewContent)
Public propertyIsActive Gets or sets a value indicating whether the view of this instance is active in the UI.
(Inherited from AbstractViewContent)
Public propertyIsAutoZoomActive Enables / disable the autozoom feature.
Public propertyIsContentVisible 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)
Public propertyIsDirty If this property returns true the content has changed since the last load/save operation.
(Inherited from AbstractViewContent)
Public propertyIsDisposed Gets a value indicating whether the view content has been disposed.
(Inherited from AbstractViewContent)
Public propertyIsDisposeInProgress Gets or sets a value indicating whether disposal is in progress.
(Inherited from AbstractViewContent)
Public propertyIsOverlayPaintingRequired Gets a value indicating whether overlay painting is required.
Public propertyIsReadOnly Gets if the view content is read-only (can be saved only when choosing another file name).
(Inherited from AbstractViewContent)
Public propertyIsSelected Gets or sets a value indicating whether the view of this instance is selected (e.g. inside its container).
(Inherited from AbstractViewContent)
Public propertyIsViewOnly Gets if the view content is view-only (cannot be saved at all).
(Inherited from AbstractViewContent)
Public propertyIsVisible 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)
Public propertyMarginGets 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.
Public propertyModelObject Gets the model (document) that this controller manages.
(Overrides AbstractViewContentModelObject)
Public propertyNonPageAreaColor Gets the color of the non page area, i.e. the area that not belongs to the graph.
Public propertyNumberOfSelectedObjects Returns the number of selected objects into this graph.
Public propertyPositionOfViewportsUpperLeftCornerInGraphCoordinatesGets or sets the position of the view port window's upper left corner in graph coordinates.
Public propertyRootLayer Returns the layer collection. Is the same as m_GraphDocument.XYPlotLayer.
Public propertySelectedObjects Gets the currently selected hit-test objects.
Public propertySelectedRealObjects Gets the objects currently selected. The returned objects are not the HitTestObjects, but the hitted objects itself.
Public propertyServices Gets or sets the service container for the view content.
(Inherited from AbstractViewContent)
Public propertySizeOfGraphWithMarginGets the size (in points = 1/72 inch) of the graph with margin (without zoom).
Public propertySizeOfGraphWithMarginZoomedGets 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.
Public propertyTitle Gets/Sets the title of the current tab page. This value will be passed through the string parser before being displayed.
(Inherited from AbstractViewContent)
Public propertyUseDocumentCopy Sets whether the controller should work on a document copy.
Public propertyViewObject Gets or sets the GUI element that shows the model to the user.
(Overrides AbstractViewContentViewObject)
Public propertyZoomFactor Zoom value of the graph view. If this property is set, AutoZoom will be set to false.
Top
See Also