←Select platform

RotateModifierKey Property

Summary

Gets or sets the rotate modifier key.

Syntax

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

Property Value

The rotate modifier key.

Remarks

This key is used in design mode when the an object is selected. Pressing down this key and clicking on any of the object's control points then dragging the mouse rotates the object around its origin.

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

Example

This example disables the rotate 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_RotateModifierKey(AnnAutomationManager manager) 
{ 
   manager.RotateModifierKey = ModifierKeys.None; 
} 
Imports Leadtools.Windows.Controls 
Imports Leadtools.Windows.Annotations 
 
Private Sub AnnAutomationManager_RotateModifierKey(ByVal manager As AnnAutomationManager) 
   manager.RotateModifierKey = 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_RotateModifierKey(AnnAutomationManager manager) 
{ 
   manager.RotateModifierKey = ModifierKeys.None; 
} 
Imports Leadtools.Windows.Controls 
Imports Leadtools.Windows.Annotations 
Imports Leadtools.Silverlight.Demos 
'using Leadtools.Help; 
 
Private Sub AnnAutomationManager_RotateModifierKey(ByVal manager As AnnAutomationManager) 
   manager.RotateModifierKey = 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