←Select platform

EnableDeselectObject Property

Summary
Gets or sets a value that indicates whether clicking on an already selected object while the MultiSelectModifierKey is pressed should de-select it.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public bool EnableDeselectObject { get; set; } 
@property (nonatomic, assign) BOOL enableDeselectObject; 
public boolean getEnableDeselectObject() 
public void setEnableDeselectObject(boolean enableDeselectObject) 
public:  
   property bool EnableDeselectObject 
   { 
      bool get() 
      void set(bool value) 
   } 
EnableDeselectObject # get and set (AnnAutomationManager) 

Property Value

true if clicking an already selected object while the MultiSelectModifierKey is pressed should de-select it; otherwise, false. The default value is true.

Remarks

When a selected object is clicked over with the pointer while the MultiSelectModifierKey is pressed, then its selection state must be inverted and become un-selected.

This behavior is used when the value of EnableDeselectObject is the default of true. Older versions of LEADTOOLS will not de-select the object if clicked on while MultiSelectModifierKey is pressed. If this behavior is desired, then set the value of EnableDeselectObject to false.

Requirements

Target Platforms

Help Version 22.0.2023.4.25
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.