LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
MultiSelectModifierKey Property
See Also 
Leadtools.Windows.Annotations Namespace > AnnAutomationManager Class : MultiSelectModifierKey Property



The MultiSelectModifierKey Property supports WPF/Silverlight.

The MultiSelectModifierKey Property is available in LEADTOOLS Document and Medical Imaging toolkits.

Gets or sets the multi-select modifier key. Supported in Silverlight, Windows Phone 7

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);
}

Property 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;
}
SilverlightCSharpCopy Code
private void AnnAutomationManager_MultiSelectModifierKey(AnnAutomationManager manager)
{
   manager.MultiSelectModifierKey = ModifierKeys.None;
}
SilverlightVBCopy Code
Private Sub AnnAutomationManager_MultiSelectModifierKey(ByVal manager As AnnAutomationManager)
   manager.MultiSelectModifierKey = ModifierKeys.None
End Sub

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: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

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.