Graph |
The GraphController type exposes the following members.
| Name | Description | |
|---|---|---|
| Apply | Applies the controller changes. | |
| Arrange | Arranges the objects so they share a common boundary. | |
| ArrangeBottomToBottom | Arranges the objects so they share the bottom boundary with the bottom boundary of the master element. | |
| ArrangeBottomToTop | Arranges the objects so they share the bottom boundary with the top boundary of the master element. | |
| ArrangeHorizontal | Arranges the objects so they share the vertical middle line of the last selected object. | |
| ArrangeHorizontalTable | Arranges the objects so they their vertical middle line is uniform spaced between the first and the last selected object. | |
| ArrangeLeftToLeft | Arranges the objects so they share the left boundary with the left boundary of the master element. | |
| ArrangeLeftToRight | Arranges the objects so they share the left boundary with the right boundary of the master element. | |
| ArrangeRightToLeft | Arranges the objects so they share the right boundary with the left boundary of the master element. | |
| ArrangeRightToRight | Arranges the objects so they share the right boundary with the right boundary of the master element. | |
| ArrangeSameHorizontalSize | Arranges the selected objects to have the same horizontal size. | |
| ArrangeSameSizeBase | Arranges the selected objects to match the master size using the specified routine. | |
| ArrangeSameVerticalSize | Arranges the selected objects to have the same vertical size. | |
| ArrangeTopToBottom | Arranges the objects so they share the top boundary with the bottom boundary of the master element. | |
| ArrangeTopToTop | Arranges the objects so they share the top boundary with the top boundary of the master element. | |
| ArrangeVertical | Arranges the objects so they share the horizontal middle line of the last selected object. | |
| ArrangeVerticalTable | Arranges the objects so they their horizontal middle line is uniform spaced between the first and the last selected object. | |
| BuildNavPoint |
Builds an INavigationPoint for the current position.
(Inherited from AbstractViewContent) | |
| CanClose |
Determines whether the view content can be closed.
(Inherited from AbstractViewContent) | |
| ClearIsDirty |
Clears the dirty state.
(Inherited from AbstractViewContent) | |
| CmdDelete | Deletes the selected objects or, if none are selected, the graph document. | |
| ConvertGraphCoordinateToScrollbarValue | Converts a graph coordinate to scrollbar values. See the remarks in ConvertScrollbarValueToGraphCoordinate(PointD2D) to learn how the scroll bar parameters are set. | |
| ConvertGraphToMouseCoordinates | Converts graph coordinates to wpf coordinates. | |
| ConvertMouseToRootLayerCoordinates | Converts from mouse coordinates to graph coordinates. | |
| ConvertScrollbarValueToGraphCoordinate | Converts the scrollbar values to the corresponding graph coordinate. | |
| CopySelectedObjectsToClipboard | Copy the selected objects of this graph to the clipboard. | |
| CutSelectedObjectsToClipboard | Cuts the selected objects to the clipboard. | |
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Overrides AbstractViewContentDispose) | |
| DoPaintOverlay | Infrastructure: intended to be used by graph views to draw the overlay (the selection rectangles and handles of the currently selected tool) into a bitmap. | |
| EhEditPlotItem | Handles the double click event onto a plot item. | |
| EhEditTextGraphics | Handles the double click event onto a plot item. | |
| EhGraph_BoundsChanged_Unsynchronized | Updates the view after the graph bounds changed. | |
| EhGraph_Changed | Called if something in the GraphDocument changed. | |
| EhGraph_LayerCollectionChanged | Handler of the event LayerCollectionChanged of the graph document. Forces to check the LayerButtonBar to keep track that the number of buttons match the number of layers. | |
| EhGraph_LayerCollectionChanged_Unsynchronized | Updates the layer structure after the layer collection changed. | |
| EhGraph_SizeChanged | Handler of the event LayerCollectionChanged of the graph document. Forces to check the LayerButtonBar to keep track that the number of buttons match the number of layers. | |
| EhTitleLocalizationChanged |
Updates the title when the localized title changes.
(Inherited from AbstractViewContent) | |
| EhView_CurrentGraphToolChanged | Raises the notification that the current graph tool changed. | |
| EhView_CurrentLayerChoosen | Handles the selection of the current layer by the user. | |
| EhView_GraphPanelMouseWheel | Handles the mouse wheel event. | |
| EhView_GraphPanelSizeChanged | Handles the event when the size of the graph area is changed. | |
| EhView_Scroll | Updates the viewport position after the view scrollbars changed. | |
| EhView_ShowDataContextMenu | The controller should show a data context menu (contains all plots of the currentLayer). | |
| EnsureValidityOfCurrentLayerNumber | check the validity of the CurrentLayerNumber and correct it | |
| EnsureValidityOfCurrentPlotNumber | This ensures that the current plot number is valid. If there is no plot on the currently active layer, the current plot number is set to -1. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| FindGraphObjectAtPixelPosition | Looks for a graph object at pixel position pixelPos and returns true if one is found. | |
| FindGraphObjectInRootLayerRectangle | Finds graph objects inside the specified rectangle in root-layer coordinates. | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetParentLayerOfSelectedObjects | Determines the parent layer of the selected objects, as far as all selected objects belong to the same layer. | |
| GetService(Type) | Gets the service object of the specified type. (Inherited from AbstractViewContent) | |
| GetServiceT |
Gets a required service of the specified type.
(Inherited from AbstractViewContent) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| GroupSelectedObjects | Groups the selected objects to form a ShapeGroup. | |
| HostWindowClosing | Called if the host window is about to be closed. | |
| Initialize | Initializes the controller and optionally reloads document-dependent state. | |
| InitializeDocument | Initializes the controller with the supplied document arguments. | |
| IsCmdCopyEnabled | Determines whether copy is currently enabled. | |
| IsCmdCutEnabled | Determines whether cut is currently enabled. | |
| IsCmdDeleteEnabled | Determines whether delete is currently enabled. | |
| IsCmdPasteEnabled | Determines whether paste is currently enabled. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| MouseWheelScroll | Scrolls horizontally or vertically in response to a mouse wheel scroll event. | |
| MoveSelectedGraphItemsDown | Moves the selected graph items one step down in z-order. | |
| MoveSelectedGraphItemsToBottom | Moves the selected graph items to the bottom of the z-order. | |
| MoveSelectedGraphItemsToTop | Moves the selected graph items to the top of the z-order. | |
| MoveSelectedGraphItemsUp | Moves the selected graph items one step up in z-order. | |
| MoveSelectedObjects | Moves the selected objects in a certain direction in response to an arrow key pressed. | |
| NotifyContentIdChanged |
Can be used to notify the view content that the ContentId maybe has changed.
(Inherited from AbstractViewContent) | |
| OnClose |
Closes the view content.
(Inherited from AbstractViewContent) | |
| OnContentVisibilityChanged | Notifies the view that the content visibility changed. | |
| OnIsDirtyChanged |
Raises notifications that the dirty state has changed.
(Inherited from AbstractViewContent) | |
| OnPropertyChanged |
Raises the PropertyChanged event.
(Overrides AbstractViewContentOnPropertyChanged(String)) | |
| PasteObjectsFromClipboard | Pastes graph objects from the clipboard. | |
| RefreshAutoZoom | Recalculates and sets the value of m_Zoom so the whole page is visible | |
| RefreshGraph | Refreshes the graph view. | |
| RefreshManualZoom | Performs the r ef re sh ma nu al zo om operation. | |
| RemoveSelectedObjects | Removes the currently selected objects (the IHitTestObject of the selected object(s) must provide a handler for deleting the object). | |
| RenderOverlay | If the cached graph bitmap is valid, the graph area is repainted immediately using the cached bitmap and then the custom mouse handler drawing. If the cached graph bitmap is invalid, a repaint (and thus a recreation of the cached graph bitmap) is triggered, but only with Gui render priority. | |
| Revert | Try to revert changes to the model, i.e. restores the original state of the model. | |
| ScaleForPaint | This functions scales the graphics context to be ready for painting. | |
| ScaleForPaintingGraphDocument | Prepares the graphics context for painting the graph document. | |
| SetDirty |
Sets the dirty state.
(Inherited from AbstractViewContent) | |
| SetDisposeInProgress |
Announces that this view content is about to be disposed very soon. The view content should remain passiv (e.g. should not react to events any more),
but should not release its resources yet (this is done later in Dispose).
(Inherited from AbstractViewContent) | |
| SetGraphToolFromInternal | Updates the graph tool from controller logic. | |
| SetLocalizedInfoTip |
Sets a localized info tip that will update automatically when the language changes.
(Inherited from AbstractViewContent) | |
| SetLocalizedTitle |
Sets a localized title that will update automatically when the language changes.
(Inherited from AbstractViewContent) | |
| SetMemberVariablesToDefault | Set the member variables to default values. Intended only for use in constructors and deserialization code. | |
| SetPanelCursor | Sets the panel cursor. | |
| SetSelectedObjectsProperty | Sets the routed property on all selected objects. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| UngroupSelectedObjects | Ungroups the selected objects (if they are ShapeGroup objects). | |
| ZoomAroundPivotPoint | Zooms around a pivot point. The pivot point is the point in graph coordinates that does not change the location in the viewport window when zooming. |