Skip to main content

listboxlistcontrol-class

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

public class Korzh.EasyQuery.WinForms.ListBoxListControl
: ListControl

Assembly: Korzh.EasyQuery.WinForms.dll

Constructors

NameTypeDescription
ListBoxListControl()voidInitializes a new instance of the Korzh.EasyQuery.WinForms.MenuListControl class.
ListBoxListControl(bool multi)voidInitializes a new instance of the Korzh.EasyQuery.WinForms.MenuListControl class.

Fields

NameTypeDescription
listboxControlListBoxThe System.Windows.Forms.ListBox control that is used for value editing.

Properties

NameTypeDescription
ControlTypestringGets the type of the control.
MultiSelectboolGets a value indicating whether the control supports multi selection.
VisibleboolGets a value indicating whether this Korzh.EasyQuery.WinForms.ListBoxListControl is visible.

Methods

NameTypeDescription
Dispose(bool disposing)voidClean up any resources being used.
Hide()voidHides this instance.
LBKeyPressHandler(object sender, KeyPressEventArgs e)voidKeyPress event handler
LBLostFocusHandler(object sender, EventArgs e)voidThe handler of System.Windows.Forms.Control.LostFocus event of System.Windows.Forms.ListBox control.
LBSelectedIndexChangedHandler(object sender, EventArgs e)voidListBox control SelectedIndexChanged event handler.
RefillItems(ValueItemList items)voidRefills the items.
Show(ListXElement parentElement, Point position)voidShows the specified parent.