←Select platform

FocusOnDown Property (InteractiveService)

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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Controls.WinForms Assembly
Click or drag to resize