Gets an object, which allows changing the function of keyboard modifier keys such as CTRL and ALT.
Namespace: MindFusion.Diagramming.WinForms
Assembly: MindFusion.Diagramming.WinForms
SyntaxC#
Copy Code
|
|---|
public ModifierKeyActions ModifierKeyActions { get; } |
Visual Basic
Copy Code
|
|---|
Public ReadOnly Property ModifierKeyActions As ModifierKeyActions |
An instance of the ModifierKeyActions class.
RemarksUse 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.
ExampleThis code enables drawing a selection rectangle using the SHIFT modifier key:
C#
Copy Code
|
|---|
diagramView.ModifierKeyActions.Shift = ModifierKeyAction.Select; |
Visual Basic
Copy Code
|
|---|
diagramView.ModifierKeyActions.Shift = ModifierKeyAction.Select |
See Also