Leadtools.Windows.Annotations Requires Document/Medical license. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
MultiSelectModifierKey Property
See Also  Example
Leadtools.Windows.Annotations Namespace > AnnAutomationManager Class : MultiSelectModifierKey Property





Gets or sets the multi-select modifier key.

Syntax

Visual Basic (Declaration) 
Public Property MultiSelectModifierKey As ModifierKeys
Visual Basic (Usage)Copy Code
Dim instance As AnnAutomationManager
Dim value As ModifierKeys
 
instance.MultiSelectModifierKey = value
 
value = instance.MultiSelectModifierKey
C# 
public ModifierKeys MultiSelectModifierKey {get; set;}
C++/CLI 
public:
property ModifierKeys MultiSelectModifierKey {
   ModifierKeys get();
   void set (ModifierKeys value);
}
XAML Syntax 
For XAML information, see the System.Windows.Input.ModifierKeys type.
XAML Syntax 
For XAML information, see the System.Windows.Input.ModifierKeys type.

Return Value

The multi-select modifier key.

Example

This example disables the multi-select modifier key

Visual BasicCopy Code
Private Sub AnnAutomationManager_MultiSelectModifierKey(ByVal manager As AnnAutomationManager)
  manager.MultiSelectModifierKey = ModifierKeys.None
End Sub
C#Copy Code
private void AnnAutomationManager_MultiSelectModifierKey(AnnAutomationManager manager) 

   manager.MultiSelectModifierKey = ModifierKeys.None; 
}

Remarks

This key is used in design mode to select multiple objects. After the first object is selected, you press and hold down this key then click on other objects on the container. A temporary group will be created and these objects will be added to this group.

By default, the automation framework sets this value to ModifierKeys.Shift

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

See Also

MultiSelectModifierKey requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.