Class FocuslessListBox
Implements a list box that can be displayed in a drop-down window for a combo box or dropdown menus. It lets you select items and scroll the listbox without setting the focus to the listbox.
Inheritance
System.Object
FocuslessListBox
Namespace: Syncfusion.Windows.Forms
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class FocuslessListBox : ListBox
Constructors
FocuslessListBox()
Initializes a new FocuslessListBox control.
Declaration
public FocuslessListBox()
Methods
OnMouseDown(MouseEventArgs)
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.MouseEventArgs | e |
OnMouseMove(MouseEventArgs)
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.MouseEventArgs | e |
OnMouseUp(MouseEventArgs)
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.MouseEventArgs | e |
OnTimerEvent(Object, EventArgs)
Handles the System.Windows.Forms.Timer.Tick event of an internal timer that is started when the user has pressed the mouse down.
Declaration
protected virtual void OnTimerEvent(object sender, EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The source of the event.> |
System.EventArgs | e | The System.EventArgs with event data. |
SetRedraw(Boolean)
Sends WM_SETREDRAW message to the window.
Declaration
public void SetRedraw(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value |
WndProc(ref Message)
Declaration
protected override void WndProc(ref Message msg)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Message | msg |