This topic explains how to configure the mouse interaction and tool for the xamDiagram™ surface.
The following topics are prerequisites to understanding this topic:
This topic contains the following sections:
The xamDiagram provides two properties – Tool and DefaultDragInteraction for configuring the various ways in which the mouse interacts with the xamDiagram . The Tool setting determines what happens when performing a click and drag on the xamDiagram surface. The following tools are available:
Pointer (default)
Connector
The Pointer tool allows a number of interactions controlled by the DefaultDragInteraction setting. The supported interactions are:
None
Zoom
Pan
Select (default)
The Connector tool allows drawing a connection by dragging the mouse over the diagram surface.
The following table maps the desired mouse interaction to the property settings that manage it.
To set the desired mouse interaction, specify the corresponding enum values as the values of the Tool and DefaultDragInteraction properties.
The following table maps the desired configuration to the property settings that manage it.
The following topics provide additional information related to this topic.