←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#
VB
C++
public bool FocusOnDown { get; set; } 
Public Property FocusOnDown() As Boolean 
   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 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly