MindFusion.Wpf Pack Programmer's Guide
DiagramView.ModifierKeyActions Property
See Also
 





Gets an object, which allows changing the function of keyboard modifier keys such as Ctrl and Alt.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public ModifierKeyActions ModifierKeyActions { get; }

Visual Basic  Copy Code

Public ReadOnly Property ModifierKeyActions As ModifierKeyActions

 Property Value

An instance of the ModifierKeyActions class.

 Remarks

Set the Alt, Control and Shift properties of this ModifierKeyActions instance to specify the functions of the ALT, CTRL and SHIFT keys. These properties can be set to values of the ModifierKeyAction enumeration.

 Example

This code enables drawing a selection rectangle using the SHIFT modifier key:

C#  Copy Code
diagramView.ModifierKeyActions.Shift = ModifierKeyAction.Select;

 See Also

DiagramView Members
DiagramView Class
MindFusion.Diagramming.Wpf Namespace