The MoveInputMode type exposes the following members.

Constructors

  NameDescription
Public methodMoveInputMode
Initializes a new instance of the MoveInputMode class.

Methods

  NameDescription
Protected methodArm
Callback used by the state machine to arm this mode.
Protected methodBeginDrag
Callback used by the state machine to initialize the dragging.
Public methodCancel
Runs the state machine using the cancel and reset events, releases the input mutex and returns.
(Inherited from StateMachineInputMode.)
Protected methodCancelDrag
Called when the users cancels the dragging of the handle.
Protected methodCanRequestMutex
Determines whether this instance can request the InputMutex.
(Inherited from AbstractConcurrentInputMode.)
Protected methodCreateCanceledState
Factory method that creates a canceled State for the given machine.
(Inherited from StateMachineInputMode.)
Public methodCreateFeedbackPost
Creates a TransitionDoneHandler that triggers InputFeedbackCommand with the current IInputModeContext and LastEventLocation.
(Inherited from StateMachineInputMode.)
Protected methodCreateInputModeEventArgs
Helper method that yields a suitably configured InputModeEventArgs for this input mode.
(Inherited from AbstractInputMode.)
Protected methodCreatePositionHandlerInputModeContext
Creates an IInputModeContext for use with the IPositionHandler interface for the upcoming drag operation.
Protected methodCreateStartState
Factory method that creates a start State for the given machine.
(Inherited from StateMachineInputMode.)
Protected methodCreateStartTimerTransition
Creates a TransitionDoneHandler that will start a timer that will elapse once after the given duration.
(Inherited from StateMachineInputMode.)
Protected methodCreateStateMachine
Factory method that creates the state machine.
(Inherited from StateMachineInputMode.)
Protected methodCreateStoppedState
Factory method that creates a stopped State for the given machine.
(Inherited from StateMachineInputMode.)
Protected methodCreateStopTimerTransition
Creates a TransitionDoneHandler that stops the timer with the specific id.
(Inherited from StateMachineInputMode.)
Protected methodCreateTimerElapsedEventRecognizer
Creates an EventRecognizerCallback that will recognize when a timer created using CreateStartTimerTransition(TimeSpan, Int32) is triggered.
(Inherited from StateMachineInputMode.)
Protected methodDisarm
Callback used by the state machine to disarm this mode.
Public methodDoStartDrag
Simulates the start of a drag and puts the state machine into the dragging state.
Protected methodEndDrag
Called by the state machine to end the dragging.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
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.)
Protected methodInitializeStateMachine
Called to initialize the state machine.
(Overrides StateMachineInputMode..::..InitializeStateMachine(StateMachine, State, State, State, State).)
Public methodInstall
Installs this mode into the given canvas.
(Inherited from StateMachineInputMode.)
Protected methodInstallListeners
Installs all necessary listeners to trigger the Run(Object, EventArgs) method.
(Inherited from StateMachineInputMode.)
Protected methodInvalidate
Convenience method for subclass implementations that invalidates the canvas this mode is currently installed in.
(Inherited from AbstractInputMode.)
Protected methodIsCancelEvent
Method that identifies an event as a cancel event.
(Inherited from StateMachineInputMode.)
Protected methodIsDisabledEvent
Method that identifies an event as a mode disabled event.
(Inherited from StateMachineInputMode.)
Protected methodIsEnabledEvent
Method that identifies an event as an mode enabled event.
(Inherited from StateMachineInputMode.)
Protected methodIsHovering
Callback for the state machine that determines whether the mouse currently hovers over the elements to be moved.
Protected methodIsMutexAcquiredEvent
Method that identifies an event as an mutex acquired event.
(Inherited from StateMachineInputMode.)
Protected methodIsMutexLostEvent
Method that identifies an event as an mutex released event.
(Inherited from StateMachineInputMode.)
Protected methodIsStopEvent
Method that identifies an event as a stop event.
(Inherited from StateMachineInputMode.)
Protected methodIsValidStartLocation
Determines whether the given location is a valid start location for the move gesture.
Protected methodIsValidTouchDown
Callback for the state machine that determines a touch has been performed on an element that is about to be moved.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnCanceled
Event dispatch method that will dispatch the Canceled event.
(Inherited from AbstractInputMode.)
Protected methodOnCancelStateEntered
Called when the cancel state has been entered.
(Inherited from StateMachineInputMode.)
Protected methodOnDisable
Runs the state machine using a disable event.
(Inherited from StateMachineInputMode.)
Protected methodOnDisabled
Called when the Enabled property changes to false.
(Inherited from AbstractConcurrentInputMode.)
Protected methodOnDrag
Called by the state machine during the dragging.
Protected methodOnDragCanceled
Triggers the DragCanceled event.
Protected methodOnDragCanceling
Triggers the DragCanceling event.
Protected methodOnDragFinished
Callback triggered once the drag has been finalized.
Protected methodOnDragFinishing
Callback triggered before the drag will be finalized.
Protected methodOnDragged
Callback triggered at the end of each drag.
Protected methodOnDragging
Callback triggered at the start of each drag.
Protected methodOnDragStarted
Triggers the DragStarted event.
Protected methodOnDragStarting
Triggers the DragStarting event.
Protected methodOnEnable
Runs the state machine using an enable event.
(Inherited from StateMachineInputMode.)
Protected methodOnEnabled
Called when the Enabled property changes to true.
(Inherited from AbstractConcurrentInputMode.)
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 methodOnMachineReset
Resets the preferred cursor to null.
(Inherited from StateMachineInputMode.)
Protected methodOnMutexObtained
Runs the state machine using a mutex obtained event.
(Inherited from StateMachineInputMode.)
Protected methodOnMutexReleased
Runs the state machine using a mutex lost event.
(Inherited from StateMachineInputMode.)
Protected methodOnPreferredCursorChanged
Called when the PreferredCursor property changes.
(Inherited from AbstractConcurrentInputMode.)
Protected methodOnRun
Callback method that will be called after the state machine has been run using the arguments provided.
(Inherited from StateMachineInputMode.)
Protected methodOnStopped
Event dispatch method that will dispatch the Stopped event.
(Inherited from AbstractInputMode.)
Protected methodOnStopStateEntered
Called when the cancel state has been entered.
(Inherited from StateMachineInputMode.)
Protected methodPrepare
Callback used by the state machine to prepare this mode.
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 methodResetMachine
Runs the machine using a special reset event.
(Inherited from StateMachineInputMode.)
Public methodRun
Tries to run the virtual machine using the pair of source and event argument to determine which transition to take.
(Inherited from StateMachineInputMode.)
Protected methodSetPreferredCursorTransition
Factory method that can be used to obtain a TransitionDoneHandler implementation that sets the given PreferredCursor.
(Inherited from StateMachineInputMode.)
Public methodStop
Runs the machine using a special stop event.
(Inherited from StateMachineInputMode.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUninstall
Uninstalls this mode from the canvas.
(Inherited from StateMachineInputMode.)
Protected methodUninstallListeners
Removes all listeners from the canvas that have been registered in InstallListeners()()()()
(Inherited from StateMachineInputMode.)

Fields

  NameDescription
Protected fieldlastEventArgs Obsolete.
The last event arguments that have been delivered to this instance.
(Inherited from StateMachineInputMode.)
Protected fieldlastMouse2DEventArgs Obsolete.
The last Mouse2DEventArgs that have been delivered to this instance.
(Inherited from StateMachineInputMode.)

Properties

  NameDescription
Public propertyCanceledState
Returns the canceled state of the state machine.
(Inherited from StateMachineInputMode.)
Protected propertyCancelEventRecognizer
Factory method that creates an EventRecognizerCallback for the state machine that is triggered if this mode has been canceled.
(Inherited from StateMachineInputMode.)
Public propertyCancelRecognizer
Gets or sets the "cancel" recognizer.
Protected propertyCanRequestMutexRecognizer
Factory method that creates an EventRecognizerCallback for the state machine that is triggered if this mode CanRequestMutex()()()() can request the input mutex.
(Inherited from StateMachineInputMode.)
Public propertyCanvas
Returns the canvas instance this mode is currently installed in or nullNothingnullptra null reference (Nothing in Visual Basic).
(Inherited from AbstractInputMode.)
Protected propertyCanvasEditableDisabledRecognizer
Factory method that creates an EventRecognizerCallback for the state machine that is triggered if this canvas that is associated with this input mode has changed its Editable state to false.
(Inherited from StateMachineInputMode.)
Protected propertyCanvasEditableEnabledRecognizer
Factory method that creates an EventRecognizerCallback for the state machine that is triggered if this canvas that is associated with this input mode has changed its Editable state to true.
(Inherited from StateMachineInputMode.)
Public propertyCaptureInputWithMutex
Gets or sets a value indicating whether to also capture mouse and keyboard input if this mode gets the mutex.
(Inherited from StateMachineInputMode.)
Public propertyController
Gets or injects the ConcurrencyController for this instance.
(Inherited from AbstractConcurrentInputMode.)
Protected propertyDisabledEventRecognizer
Factory method that creates an EventRecognizerCallback for the state machine that is triggered if this mode has been disabled.
(Inherited from StateMachineInputMode.)
Public propertyDisableSnappingRecognizer
Gets or sets event recognizer that recognizes when the user temporarily disables snapping.
Public propertyDraggedRecognizer
Gets or sets the "dragged" recognizer.
Public propertyDraggedRecognizerTouch
Gets or sets the "dragged" recognizer for touch events.
Public propertyEnabled
Gets or sets the enabled state of this input mode.
(Inherited from AbstractConcurrentInputMode.)
Protected propertyEnabledEventRecognizer
Factory method that creates an EventRecognizerCallback for the state machine that is triggered if this mode has been enabled.
(Inherited from StateMachineInputMode.)
Public propertyEnableSnappingRecognizer
Gets or sets event recognizer that recognizes when the user reenables temporarily disabled snapping.
Public propertyHitTestable
Gets or sets the IHitTestable that will be used by this mode to determine where the user may start dragging.
Public propertyHoverRecognizer
Gets or sets the "hovering" state recognizer.
Public propertyInitialLocation
Returns the initial position where the dragging was initiated.
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 propertyIsDragging
Yields a value indicating whether a drag operation is currently in progress.
Public propertyLastEventLocation
Gets or sets the location of the last event.
(Inherited from StateMachineInputMode.)
Public propertyLastMouse2DEventArgs
Provides access to the last Mouse2DEventArgs that have been delivered to this instance.
(Inherited from StateMachineInputMode.)
Public propertyLastPrimaryLocation
Gets or sets the last location of the primary touch device or the mouse pointer
(Inherited from StateMachineInputMode.)
Public propertyLastTouch2DEventArgs
Provides access to the last Touch2DEventArgs that have been delivered to this instance.
(Inherited from StateMachineInputMode.)
Public propertyMovable
Gets or sets the IMovable that will be used during dragging to perform the actual movement.
Public propertyMoveCursor
Gets or sets the cursor to use during the move.
Protected propertyMutexAcquiredRecognizer
Factory method that creates an EventRecognizerCallback for the state machine that is triggered if this mode acquired the input mutex.
(Inherited from StateMachineInputMode.)
Protected propertyMutexLostRecognizer
Factory method that creates an EventRecognizerCallback for the state machine that is triggered if this mode lost the mutex.
(Inherited from StateMachineInputMode.)
Public propertyPositionHandler
Gets or sets the IPositionHandler that will be used to handle that actual movement of the elements during the drag.
Public propertyPreferredCursor
Gets the cursor this mode would like to have displayed in the CanvasControl.
(Inherited from AbstractConcurrentInputMode.)
Public propertyPressedRecognizer
Gets or sets the "pressed" state recognizer.
Public propertyPressedRecognizerTouch
Gets or sets the "pressed" recognizer for touch events.
Public propertyPrimaryMoveEventRecognizer
Gets or sets the IEventRecognizer that defines the condition when to update LastPrimaryLocation.
(Inherited from StateMachineInputMode.)
Public propertyReleasedRecognizer
Gets or sets the "released" recognizer.
Public propertyReleasedRecognizerTouch
Gets or sets the "released" recognizer for touch events.
Protected propertyReleaseKeyboardTransition
Factory method that can be used to obtain a TransitionDoneHandler implementation that request that keyboard input capturing is disabled if it has previously been enabled by this instance.
(Inherited from StateMachineInputMode.)
Protected propertyReleaseMouseTransition
Factory method that can be used to obtain a TransitionDoneHandler implementation that request that mouse input capturing is disabled if it has previously been enabled by this instance.
(Inherited from StateMachineInputMode.)
Protected propertyReleaseMutexTransition
Factory method that creates a TransitionDoneHandler for the state machine that releases the input mutex.
(Inherited from StateMachineInputMode.)
Protected propertyReleaseTouchTransition
Factory method that can be used to obtain a TransitionDoneHandler implementation that request that touch input capturing is disabled if it has previously been enabled by this instance.
(Inherited from StateMachineInputMode.)
Protected propertyRequestKeyboardTransition
Factory method that can be used to obtain a TransitionDoneHandler implementation that request that all keyboard input is captured by the canvas.
(Inherited from StateMachineInputMode.)
Protected propertyRequestMouseTransition
Factory method that can be used to obtain a TransitionDoneHandler implementation that request that all mouse input is captured by the canvas.
(Inherited from StateMachineInputMode.)
Protected propertyRequestMutexTransition
Factory method that creates a TransitionDoneHandler for the state machine that requests the input mutex.
(Inherited from StateMachineInputMode.)
Protected propertyRequestTouchTransition
Factory method that can be used to obtain a TransitionDoneHandler implementation that request that all touch input is captured by the canvas.
(Inherited from StateMachineInputMode.)
Protected propertyResetPreferredCursorTransition
Factory method that can be used to obtain a TransitionDoneHandler implementation that resets the PreferredCursor.
(Inherited from StateMachineInputMode.)
Public propertySnapContext
The SnapContext which manages snapping model items to certain coordinates (e.g. other items).
Public propertyStartState
Returns the start state of the state machine.
(Inherited from StateMachineInputMode.)
Public propertyStateMachine
Gets the state machine.
(Inherited from StateMachineInputMode.)
Protected propertyStopEventRecognizer
Factory method that creates an EventRecognizerCallback for the state machine that is triggered if this mode has been stopped.
(Inherited from StateMachineInputMode.)
Public propertyStoppedState
Returns the stopped state of the state machine.
(Inherited from StateMachineInputMode.)

Events

  NameDescription
Public eventCanceled
Event that will be triggered after the call to Cancel()()()()
(Inherited from AbstractInputMode.)
Public eventDragCanceled
Event that will be triggered when the drag has been canceled.
Public eventDragCanceling
Event that will be triggered before the drag will be canceled.
Public eventDragFinished
Event that will be triggered once the drag has been finished.
Public eventDragFinishing
Event that will be triggered before the drag will be finished.
Public eventDragged
Event that will be triggered at the end of every drag.
Public eventDragging
Event that will be triggered at the start of every drag.
Public eventDragStarted
Event that will be triggered once the drag is initialized and has started.
Public eventDragStarting
Event that will be triggered once the drag is starting.
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 eventRunHandler
An event that will be triggered if this state machine Run(Object, EventArgs)s.
(Inherited from StateMachineInputMode.)
Public eventStopped
Event that will be triggered after the call to Stop()()()()
(Inherited from AbstractInputMode.)

See Also