ListBoxListControl class

Represents an implementation of Korzh.EasyQuery.WinForms.ListControl class that shows the ListBox

public class Korzh.EasyQuery.WinForms.ListBoxListControl
    : ListControl

Package: Korzh.EasyQuery.WinForms (targets: net461, net5.0-windows7.0, netcoreapp3.1)

Assembly: Korzh.EasyQuery.WinForms.dll

Constructors

Name Type Description
ListBoxListControl() void Initializes a new instance of the Korzh.EasyQuery.WinForms.MenuListControl class.
ListBoxListControl(bool multi) void Initializes a new instance of the Korzh.EasyQuery.WinForms.MenuListControl class.

Fields

Name Type Description
listboxControl ListBox The System.Windows.Forms.ListBox control that is used for value editing.

Properties

Name Type Description
ControlType string Gets the type of the control.
MultiSelect bool Gets a value indicating whether the control supports multi selection.
Visible bool Gets a value indicating whether this Korzh.EasyQuery.WinForms.ListBoxListControl is visible.

Methods

Name Type Description
Dispose(bool disposing) void Clean up any resources being used.
Hide() void Hides this instance.
LBKeyPressHandler(object sender, KeyPressEventArgs e) void KeyPress event handler
LBLostFocusHandler(object sender, EventArgs e) void The handler of System.Windows.Forms.Control.LostFocus event of System.Windows.Forms.ListBox control.
LBSelectedIndexChangedHandler(object sender, EventArgs e) void ListBox control SelectedIndexChanged event handler.
RefillItems(ValueItemList items) void Refills the items.
Show(ListXElement parentElement, Point position) void Shows the specified parent.