←Select platform

FocusOnDown Property

Summary

Indicates whether the service should move the focus to the events source when the user clicks on the mouse.

Syntax
C#
C++/CLI
public bool FocusOnDown { get; set; } 
public:  
   property bool FocusOnDown 
   { 
      bool get() 
      void set(bool value) 
   } 

Property Value

true if the service should move the focus to the events source when the user clicks on the mouse, otherwise; false. Default value is true.

Remarks

When this value is true (the default value), the service will call System.Windows.Forms.Control.Focus. This allows the control to received the System.Windows.Forms.Control.LostFocus event and cancels any running operation when the application loses the focus if the user clicks away or switches the main window using ALT-TAB.

Requirements

Target Platforms

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

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