Northwoods.Go Assembly > Northwoods.Go Namespace : GoToolContext Class |
The following tables list the members exposed by GoToolContext.
Name | Description | |
---|---|---|
![]() | GoToolContext Constructor | The standard tool constructor. |
Name | Description | |
---|---|---|
![]() | BackgroundContextMenu | Gets the view's original ContextMenu, before being temporarily reset by this tool. |
![]() | BackgroundContextMenuStrip | Gets the view's original ContextMenuStrip, before being temporarily reset by this tool. |
![]() | CurrentObject | Gets or sets this tool's CurrentObject property. (Inherited from Northwoods.Go.GoTool) |
![]() | FirstInput | Gets this view's FirstInput property. (Inherited from Northwoods.Go.GoTool) |
![]() | LastInput | Gets this view's LastInput property. (Inherited from Northwoods.Go.GoTool) |
![]() | Selection | Gets this view's Selection property. (Inherited from Northwoods.Go.GoTool) |
![]() | SingleSelection | Gets or sets whether the GoTool.CurrentObject becomes the one and only selected object even if there are other already-selected objects. |
![]() | TransactionResult | Gets or sets whether to abort the current transaction if this tool is stopped; if set to a string, the string specifies the name of the transaction that will be finished when the tool stops. (Inherited from Northwoods.Go.GoTool) |
![]() | View | Gets the view for which this tool is handling canonicalized input events. (Inherited from Northwoods.Go.GoTool) |
Name | Description | |
---|---|---|
![]() | CanStart | Overridden. The context menu tool can be started when the last input event is a context menu button. |
![]() | DoCancelMouse | The view calls this method when the user cancels the gesture with the mouse; all of the event information is provided by the LastInput property. (Inherited from Northwoods.Go.GoTool) |
![]() | DoClick | Any tool can call this method in order to implement the standard click behavior. (Inherited from Northwoods.Go.GoTool) |
![]() | DoKeyDown | The view calls this method when the user presses a key on the keyboard; all of the event information is provided by the LastInput property. (Inherited from Northwoods.Go.GoTool) |
![]() | DoMouseDown | The view calls this method upon a mouse down event; all of the event information is provided by the LastInput property. (Inherited from Northwoods.Go.GoTool) |
![]() | DoMouseHover | The view calls this method after the mouse rests for a while at a point; all of the event information is provided by the LastInput property. (Inherited from Northwoods.Go.GoTool) |
![]() | DoMouseMove | The view calls this method upon a mouse move event; all of the event information is provided by the LastInput property. (Inherited from Northwoods.Go.GoTool) |
![]() | DoMouseUp | Overridden. When there is a selectable document object under the last input event point, select it if it isn't already in the selection and call GoView.DoContextClick. |
![]() | DoMouseWheel | The view calls this method as the mouse wheel rotates; all of the event information is provided by the LastInput property. (Inherited from Northwoods.Go.GoTool) |
![]() | DoSelect | Overridden. When SingleSelection is false, the user's context-click on a selected object does not modify the selection, thereby allowing the context-click action to apply to a multiple selection. |
![]() | IsBeyondDragSize | Determine if the mouse has gone beyond the DragSize distance to be considered a drag instead of a sloppy click. (Inherited from Northwoods.Go.GoTool) |
![]() | Start | Overridden. If the view has a context menu, remember it and set it to null if there is an object at the last input event point. |
![]() | StartTransaction | Start a transaction on the view. (Inherited from Northwoods.Go.GoTool) |
![]() | Stop | Overridden. Restore the original context menu for the view, if any. |
![]() | StopTool | This method just causes the view's current tool to be stopped and to start the view's default tool instead as the current tool. (Inherited from Northwoods.Go.GoTool) |
![]() | StopTransaction | Stop the current transaction, aborting it if TransactionResult is null. (Inherited from Northwoods.Go.GoTool) |