←Select platform

MultiSelectModifierKey Property

Summary

Gets or sets the multi-select modifier key.

Syntax

C#
VB
C++
public ModifierKeys MultiSelectModifierKey { get; set; } 
  
Public Property MultiSelectModifierKey As ModifierKeys 
public: 
property ModifierKeys MultiSelectModifierKey { 
   ModifierKeys get(); 
   void set (    ModifierKeys ); 
} 

Property Value

The multi-select modifier key.

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

Example

This example disables the multi-select modifier key

C#
VB
Silverlight C#
Silverlight VB
using Leadtools.Windows.Controls; 
using Leadtools.Windows.Annotations; 
using Leadtools.Demos; 
using Leadtools.Help; 
 
private void AnnAutomationManager_MultiSelectModifierKey(AnnAutomationManager manager) 
{ 
   manager.MultiSelectModifierKey = ModifierKeys.None; 
} 
Imports Leadtools.Windows.Controls 
Imports Leadtools.Windows.Annotations 
 
Private Sub AnnAutomationManager_MultiSelectModifierKey(ByVal manager As AnnAutomationManager) 
   manager.MultiSelectModifierKey = ModifierKeys.None 
End Sub 
using Leadtools.Windows.Controls; 
using Leadtools.Windows.Annotations; 
using Leadtools.Examples; 
using Leadtools.Silverlight.Demos; 
//using Leadtools.Help; 
 
private void AnnAutomationManager_MultiSelectModifierKey(AnnAutomationManager manager) 
{ 
   manager.MultiSelectModifierKey = ModifierKeys.None; 
} 
Imports Leadtools.Windows.Controls 
Imports Leadtools.Windows.Annotations 
Imports Leadtools.Silverlight.Demos 
'using Leadtools.Help; 
 
Private Sub AnnAutomationManager_MultiSelectModifierKey(ByVal manager As AnnAutomationManager) 
   manager.MultiSelectModifierKey = ModifierKeys.None 
End Sub 

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.Annotations Assembly