The NavigationInputMode type exposes the following members.

Constructors

  NameDescription
Public methodNavigationInputMode
Initializes a new instance of the NavigationInputMode class.

Methods

  NameDescription
Protected methodAdjustContentRect
Callback that adjusts the ContentRect to encompass all elements.
Protected methodAdjustGroupNodeLocation
Adjust the group node location according to the value of AutoGroupNodeAlignmentPolicy.
Public methodCancel
Overridden to release the mutex if it is currently owned by this instance.
(Inherited from AbstractConcurrentInputMode.)
Protected methodCanRequestMutex
Determines whether this instance can request the InputMutex.
(Inherited from AbstractConcurrentInputMode.)
Public methodClearSelection
Clears the selection in the graph control.
Public methodCollapseGroup
Collapses the given group node to hide the contents of the group node from this IFoldedGraph.
Public methodCollapseSelection
Protected methodCreateInputModeEventArgs
Helper method that yields a suitably configured InputModeEventArgs for this input mode.
(Inherited from AbstractInputMode.)
Public methodEnterGroup
This method allows for entering a group node so that the currently displayed IFoldedGraph's LocalRoot will be reset to the provided node.
Public methodEnterSelectedGroup
Performs EnterGroup(INode) for the first valid SelectedNodes.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExitGroup
Exits the current LocalRoot of the currently displayed IFoldedGraph view and shows the contents of the parent container.
Public methodExpandGroup
Expands the given group node to show the contents of the collapsed group node in this IFoldedGraph.
Public methodExpandSelection
Performs ExpandGroup(INode) for all SelectedNodes.
Public methodExtendSelectionTo
Moves the focus into the given direction, extending the selection to the new element.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetCanvasContext
Helper method that creates an implementation of ICanvasContext mainly for use in IsHit(PointD, ICanvasContext) calls that is specific to this mode.
(Inherited from AbstractInputMode.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodHasMutex
Determines whether this instance owns the input mutex.
(Inherited from AbstractConcurrentInputMode.)
Protected methodInitialize
Performs one-time initialization of this instance. This method should not be invoked by subclasses. This will be done automatically upon first installation of this mode.
(Inherited from AbstractInputMode.)
Public methodInstall
Installs this mode into a CanvasControl using the provided IInputModeContext.
(Overrides AbstractInputMode..::..Install(IInputModeContext).)
Protected methodInvalidate
Convenience method for subclass implementations that invalidates the canvas this mode is currently installed in.
(Inherited from AbstractInputMode.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMoveFocusTo
Moves the focus into the given direction, not changing the current selection.
Public methodMoveTo
Moves the focus into the given direction, setting the selection to the new element.
Protected methodOnCanceled
Event dispatch method that will dispatch the Canceled event.
(Inherited from AbstractInputMode.)
Protected methodOnDisabled
Called when the Enabled property changes to false.
(Overrides AbstractConcurrentInputMode..::..OnDisabled()()()().)
Protected methodOnEnabled
Called when the Enabled property changes to true.
(Overrides AbstractConcurrentInputMode..::..OnEnabled()()()().)
Protected methodOnGroupCollapsed
Raises the GroupCollapsed event.
Protected methodOnGroupCollapsing
Raises the GroupCollapsing event.
Protected methodOnGroupEntered
Raises the GroupEntered event.
Protected methodOnGroupEntering
Raises the GroupEntering event.
Protected methodOnGroupExited
Raises the GroupExited event.
Protected methodOnGroupExiting
Raises the GroupExiting event.
Protected methodOnGroupExpanded
Raises the GroupExpanded event.
Protected methodOnGroupExpanding
Raises the GroupExpanding event.
Protected methodOnInitialized
Event dispatch method that will dispatch the Initialized event.
(Inherited from AbstractInputMode.)
Protected methodOnInitializing
Event dispatch method that will dispatch the Initializing event.
(Inherited from AbstractInputMode.)
Protected methodOnMutexObtained
Called when this instance obtains the InputMutex.
(Inherited from AbstractConcurrentInputMode.)
Protected methodOnMutexReleased
Called when this instance released the InputMutex.
(Inherited from AbstractConcurrentInputMode.)
Protected methodOnPreferredCursorChanged
Called when the PreferredCursor property changes.
(Inherited from AbstractConcurrentInputMode.)
Protected methodOnStopped
Event dispatch method that will dispatch the Stopped event.
(Inherited from AbstractInputMode.)
Protected methodReleaseKeyboard
Releases previously captured keyboard input.
(Inherited from AbstractInputMode.)
Protected methodReleaseMouse
Releases previously captured mouse input.
(Inherited from AbstractInputMode.)
Protected methodReleaseMutex
Releases the mutex that is currently owned by this instance.
(Inherited from AbstractConcurrentInputMode.)
Protected methodReleaseTouch
Releases previously captured touch input.
(Inherited from AbstractInputMode.)
Protected methodRequestKeyboard
Requests capturing of all keyboard input that happens in the CanvasControl.
(Inherited from AbstractInputMode.)
Protected methodRequestMouse
Requests capturing of all mouse input that happens in the CanvasControl.
(Inherited from AbstractInputMode.)
Protected methodRequestMutex
Requests the InputMutex from the current Controller.
(Inherited from AbstractConcurrentInputMode.)
Protected methodRequestTouch
Requests capturing of all touch input that happens in the CanvasControl.
(Inherited from AbstractInputMode.)
Public methodSelectCurrentItem
Selects the CurrentItem current item.
Protected methodSelectItem
Callback that selects the given item.
Public methodSetCurrentItem(IModelItem)
Sets the "current" item to the given one.
Protected methodSetCurrentItem(GraphControl, IModelItem)
Callback that actually sets the current item property.
Protected methodSetGraphControl
Sets the graph control to use for the various actions.
Protected methodShouldBeNavigatedTo
Callback predicate method that determines whether a given model item should be navigated to.
Protected methodShouldBeSelected
Callback predicate method that determines whether a given model item should be selected.
Protected methodShouldCollapseGroup
Predicate method that decides whether it is allowed to collapse the given group node.
Protected methodShouldEnterGroup
Predicate method that decides whether it is allowed to enter the specific group node.
Protected methodShouldExitGroup
Predicate method that decides whether it is allowed to exit the current group node.
Protected methodShouldExpandGroup
Predicate method that decides whether it is allowed to expand the given group node.
Protected methodShouldToggleGroupState
Predicate method that decides whether it is allowed to toggle the collapsed state of the given group node.
Public methodStop
Overridden to only return trueTruetruetrue (True in Visual Basic) if this instance does not currently have the input mutex.
(Inherited from AbstractConcurrentInputMode.)
Public methodToggleGroupNodeState
Toggles the expanded/collapsed state for the given group node in the IFoldedGraph.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUninstall
Uninstalls this mode from the canvas.
(Overrides AbstractInputMode..::..Uninstall(IInputModeContext).)

Properties

  NameDescription
Public propertyAutoGroupNodeAlignmentPolicy
Gets or sets the the location that should be kept fixed if toggling a group node state.
Public propertyAvailableCommands
Gets the list of commands that are available in this instance. By default, all supported commands are available
Public propertyCanvas
Returns the canvas instance this mode is currently installed in or nullNothingnullptra null reference (Nothing in Visual Basic).
(Inherited from AbstractInputMode.)
Public propertyCollapsingGroupsAllowed
Gets or sets a value that determines whether it is allowed to collapse group nodes via the CollapseGroupCommand.
Public propertyController
Gets or injects the ConcurrencyController for this instance.
(Inherited from AbstractConcurrentInputMode.)
Public propertyEnabled
Gets or sets the enabled state of this input mode.
(Inherited from AbstractConcurrentInputMode.)
Public propertyEnteringGroupsAllowed
Gets or sets a value that determines whether it is allowed to enter group nodes via the EnterGroupCommand.
Public propertyExitingGroupAllowed
Gets or sets a value that determines whether it is allowed to exit the current group node via the ExitGroupCommand.
Public propertyExpandingGroupsAllowed
Gets or sets a value that determines whether it is allowed to expand group nodes via the ExpandGroupCommand.
Public propertyFitContentAfterGroupActions
Gets or sets a value that determines whether FitContent()()()() or the FitContentCommand should be triggered after a group navigation action.
Public propertyGraph
Gets or sets the graph this mode operates on.
Public propertyGraphControl
Gets or sets the graph control this mode acts on.
Public propertyGraphSelection
Gets or sets the IGraphSelection this mode operates on.
Public propertyInputModeContext
Returns the context instance this mode is currently installed in or null if this instance is not installed.
(Inherited from AbstractInputMode.)
Public propertyInstalled
Returns whether this mode is currently installed so a call to Canvas will yield a non-null result.
(Inherited from AbstractInputMode.)
Public propertyNavigableItems
Gets or sets the item types that can be navigated to by this mode.
Public propertyPreferredCursor
Gets the cursor this mode would like to have displayed in the CanvasControl.
(Inherited from AbstractConcurrentInputMode.)
Public propertySelectableItems
Gets the types of the items that should be selectable by this instance.
Public propertyUseCurrentItemForCommands
Gets or sets a value indicating whether to use the CurrentItem as a fallback for the commands if no item is provided in the parameter and the current selection is empty.

Events

  NameDescription
Public eventCanceled
Event that will be triggered after the call to Cancel()()()()
(Inherited from AbstractInputMode.)
Public eventGroupCollapsed
Event that will be triggered whenever a group has been Collapsed.
Public eventGroupCollapsing
Event that will be triggered before a group will be Collapsed.
Public eventGroupEntered
Event that will be triggered whenever a group has been Entered.
Public eventGroupEntering
Event that will be triggered before a group will be Entered.
Public eventGroupExited
Event that will be triggered whenever a group has been Exited.
Public eventGroupExiting
Event that will be triggered before a group will be Exited.
Public eventGroupExpanded
Event that will be triggered whenever a group has been Expanded.
Public eventGroupExpanding
Event that will be triggered before a group will be Expanded.
Public eventInitialized
Event that will be triggered after the call to Initialize()()()()
(Inherited from AbstractInputMode.)
Public eventInitializing
Event that will be triggered before the call to Initialize()()()()
(Inherited from AbstractInputMode.)
Public eventPreferredCursorChanged
An event that will be triggered if the PreferredCursor property changes.
(Inherited from AbstractConcurrentInputMode.)
Public eventStopped
Event that will be triggered after the call to Stop()()()()
(Inherited from AbstractInputMode.)

See Also