Skip to content

ListControl class

An abstract class that represents list control (menu, ListBox, CheckListBox) used in Korzh.EasyQuery.WinForms.ListXElement.

public abstract class Korzh.EasyQuery.WinForms.ListControl
: IDisposable

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

Assembly: Korzh.EasyQuery.WinForms.dll

NameTypeDescription
ListControl()voidInitializes a new instance of the Korzh.EasyQuery.WinForms.ListControl class.
NameTypeDescription
_parentElementListXElementThe reference to parent element control
NameTypeDescription
ControlTypestringGets the type of the control.
MultiSelectboolGets a value indicating whether the control supports multi selection.
SelectedItemValueItemGets the selected item.
SortingXSortOrderGets or sets the sort order for the list
VisibleboolGets a value indicating whether this Korzh.EasyQuery.WinForms.ListControl is visible.
NameTypeDescription
Dispose()voidPerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Dispose(bool disposing)voidPerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Hide()voidHides list control
RefillItems(ValueItemList items)voidRefills the items.
Show(ListXElement parentElement, Point position)voidShows list control.