Contains definitions, default implementations, and support classes that deal with the user interaction in a CanvasControl .

Classes

  ClassDescription
Public classAbstractConcurrentInputMode
Abstract base class for an IInputMode that can be used concurrently with other IConcurrentInputMode implementations.
Public classAbstractInputMode
Abstract base class implementation of an IInputMode.
Public classClickEventArgs
Event Arguments used by Clicked.
Public classClickInputMode
An input mode that recognizes simple mouse clicks.
Public classCollectSnapResultsEventArgs
Event Argument used by SnapContext to collect SnapResults.
Public classCompositeHandle<(Of <(<'T>)>)>
A controller class that makes multiple IHandle implementations appear to be synchronized.
Public classCompositePositionHandler<(Of <(<'T>)>)>
A composite implementation of the IPositionHandler interface.
Public classCompoundKeyEventArgs
Event argument class for key events that carries the type of event.
Public classConcurrencyController
A controller class that manages a number of IConcurrentInputMode implementations.
Public classConstrainedDragHandler<(Of <(<'TDelegate>)>)>
A utility implementation of the IDragHandler interface that can be used to constrain the movement of an existing instance conveniently.
Public classConstrainedHandle
A convenience implementation of the IHandle interface that can be used to constrain the handle of an item.
Public classConstrainedPositionHandler
A convenience implementation of the IPositionHandler interface that can be used to constrain the position of an item.
Public classConstrainedReshapeHandler
A utility implementation of the IReshapeHandler interface that can be used to constrain the reshaping of an existing instance conveniently.
Public classContextMenuInputMode
An implementation of the IInputMode interface that will display a ItemsControl when the user right clicks on the CanvasControl.
Public classDropInputMode
This is an input mode handling drag and drop related events on a CanvasControl.
Public classEventRecognizerExtensions
Utility class that contains extension method that deal with the IEventRecognizer interface.
Public classEventRecognizers
Utility class that holds implementation singletons and utility methods for simple EventRecognizerCallbacks and IEventRecognizers.
Public classFocusGuardInputMode
An IConcurrentInputMode that can be added to a MultiplexingInputMode to suppress other modes from doing unwanted things if the control has just become focused.
Public classHandleInputMode
An IInputMode implementation that can handle a collection of IHandles.
Public classInputFeedbackParameter
A class used as a parameter of InputFeedbackCommand to describe the feedback details.
Public classInputModeEventArgs
Event argument base class that is used by events that are triggered by IInputMode implementations
Public classInputMutex
An input mutex that can be obtained from ConcurrencyControllers.
Public classKeyboardInputMode
An IInputMode that recognizes simple key events and invokes a registered handler.
Public classKeyEventRecognizer
A simple implementation of IEventRecognizer that recognizes various CompoundKeyEventArgs.
Public classKeyEvents
Utility class that holds implementation singletons for simple IEventRecognizers that work on CompoundKeyEventArgs.
Public classMainInputMode
A basic input mode implementation that uses multiple minor input modes to handle the basic application needs of a main input mode.
Public classMarqueeSelectionInputMode
An IInputMode implementation that can handle marquee selections performed by the user with a mouse.
Public classMouse2DEventArgs
Complex event arguments that is used by the CanvasControl to indicate mouse events in world coordinates.
Public classMouse2DEvents
A utility class that offers IEventRecognizer implementations that deal with Mouse2DEventArgs.
Public classMouseHoverInputMode
An IInputMode that detects when the mouse hovers over the CanvasControl.
Public classMoveInputMode
Generic IInputMode implementation that can be used to move something in the canvas using the mouse.
Public classMoveViewportInputMode
An IInputMode implementation that can be used to grab and drag the viewport of the control it is installed in.
Public classMultiplexingInputMode
A composite IInputMode implementation that additionally can deal with IConcurrentInputMode instances .
Public classOverviewInputMode
An IInputMode that can be used for an overview CanvasControl.
Public classPointHandle
Convenience implementation of the IHandle interface that delegates most of the work to instances of IPoint and IPointSetter.
Public classPopulateContextMenuEventArgs
The event arguments that are used during the query by the PopulateContextMenu event.
Public classPopulateItemContextMenuEventArgs<(Of <(<'TModelItem>)>)>
A specialized subclass of PopulateContextMenuEventArgs that carries the Item for which the context menu should be populated.
Public classQueryItemToolTipEventArgs<(Of <(<'TModelItem>)>)>
A specialized subclass of ToolTipQueryEventArgs that carries the Item for which the tool tip is queried.
Public classRectangleHandle
An IHandle implementation that modifies a rectangle.
Public classRectangleHandles
A simple convenience implementation of an IHandleProvider that returns handles that modify a IMutableRectangle.
Public classReshapeableHandle
A more sophisticated IHandle implementation that modifies a rectangle.
Public classReshapeableHandles
A simple convenience implementation of an IReshapeHandleProvider that returns handles that modify a IMutableRectangle.
Public classReshapeHandleProvider
Abstract base class implementation of the IReshapeHandleProvider interface that has properties to store the values provided by a corresponding ISizeConstraintProvider<(Of <(<'T>)>)>.
Public classReshapeHandlerHandle
A more sophisticated IHandle implementation that delegates to a IReshapeHandler.
Public classSimpleGridConstraintProvider<(Of <(<'T>)>)>
A simple integer based implementation of IGridConstraintProvider<(Of <(<'T>)>)>.
Public classSimpleInputModeContext
Simple default implementation of IInputModeContext.
Public classSizeConstraintProvider<(Of <(<'T>)>)>
A simple default implementation of ISizeConstraintProvider<(Of <(<'T>)>)>
Public classSnapContext
Manages interactive snapping of elements to other elements during drag operations like movements.
Public classSnapResult
This is the abstract base class used by the implementers of SnapContext to model the result of the mouse being snapped to a certain coordinate.
Public classSnapState
Describes the state of a snapping operation.
Public classStateMachineInputMode
An IConcurrentInputMode implementation that uses a StateMachine to manage its state.
Public classTapEventArgs
Event Arguments used by Tapped.
Public classTapInputMode
An input mode that recognizes simple touch taps.
Public classTextEditorInputMode
A simple IInputMode that displays a TextBox instance in the canvas control to let the user edit a text.
Public classToolTipQueryEventArgs
Event argument that can be used to query the text to display when the mouse hovers over the given point in world coordinate space.
Public classTouch2DDevice
The representation of a touch point on the screen.
Public classTouch2DEventArgs
Complex event arguments that is used by the CanvasControl to indicate touch events in world coordinates.
Public classTouch2DEvents
A utility class that offers IEventRecognizer implementations that deal with Touch2DEventArgs.
Public classWaitInputMode
An IConcurrentInputMode implementation that can be used to block user interaction.

Interfaces

  InterfaceDescription
Public interfaceIConcurrentInputMode
Specializes the IInputMode interface to support concurrency via ConcurrencyController instances.
Public interfaceIDragHandler
Interface for an object that can be used to drag something displayed in a CanvasControl
Public interfaceIEventRecognizer
An interface that recognizes events. Given a sender and an event argument, instances of this interface decide whether the event is treated as a match depending on the context.
Public interfaceIFocusIndicatorInstaller
An interface for objects that can install a visual focus indicator decoration of an item in the model displayed in a canvas.
Public interfaceIGridConstraintProvider<(Of <(<'T>)>)>
Interface for classes that can snap coordinates of items of a specific type to a grid.
Public interfaceIHandle
Interface for a handle that can be displayed in a CanvasControl as a UI element for the user to modify the contents of the control.
Public interfaceIHandleProvider
Interface for an object that provides a number of IHandle implementations.
Public interfaceIHighlightInstaller
An interface for objects that can install a visual representation of a highlight decoration of an item in the model displayed in a canvas.
Public interfaceIInputMode
Interface implemented by input modes that can be registered with a CanvasControl instance.
Public interfaceIInputModeContext
The interface for the context object that is passed to IInputMode instances during Install(IInputModeContext) and Uninstall(IInputModeContext) and IDragHandler implementations like IPositionHandler and IHandle to provide additional context for the implementations.
Public interfaceIPositionHandler
Interface for an object that can handle the position of an item displayed in a CanvasControl
Public interfaceIReshapeHandleProvider
A specialized version of the IHandleProvider interface that can be used to query IHandle implementation for resizing an object.
Public interfaceIReshapeHandler
Interface for an object that can be interactively reshaped in a CanvasControl
Public interfaceISizeConstraintProvider<(Of <(<'T>)>)>
An interface used by implementations that provide various size constraints for items of a specific type.

Delegates

  DelegateDescription
Public delegateCompoundKeyEventHandler
Event handler signature that deals with CompoundKeyEventArgs
Public delegateEventRecognizerCallback
An callback that recognizes events. Given a sender and an event argument, delegates decide whether the event is treated as a match depending on the context.
Public delegateMouse2DEventHandler
The delegate for handling mouse 2d events.
Public delegateTouch2DEventHandler
The delegate for handling touch 2d events.

Enumerations

  EnumerationDescription
Public enumerationClickHandlingMode
Enumeration used by ClickHandlingMode.
Public enumerationCompoundKeyEventType
The type of a CompoundKeyEventArgs.
Public enumerationHandlePositions
The possible positions of a rectangle IHandles.
Public enumerationHandleType
Describes the type of a IHandle. This type can be used by the rendering engine to render different types of handles differently.
Public enumerationInertiaModes
Flaggable enumeration used by Inertia to determine when to use inertia moving.
Public enumerationInputFeedbackParameter..::..ActionType
A description of the action used in Type.
Public enumerationMouse2DEventTypes
Enumeration of the possible Mouse2DEvent event types.
Public enumerationSnapPolicy
The policy constants used by IGridConstraintProvider<(Of <(<'T>)>)>
Public enumerationSnapTypes
A flaggable enumeration of the different types of snaps that is used by SnapState in SnapResult implementations.
Public enumerationTapHandlingMode
Enumeration used by TapHandlingMode.
Public enumerationTouch2DEventTypes
Enumeration of the possible Touch2DEvent event types.

Remarks

This CLR namespace is mapped to the XAML namespace YfilesWpfXamlNS