Skip to main 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

Assembly: Korzh.EasyQuery.WinForms.dll

Constructors

NameTypeDescription
ListControl()voidInitializes a new instance of the Korzh.EasyQuery.WinForms.ListControl class.

Fields

NameTypeDescription
_parentElementListXElementThe reference to parent element control

Properties

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.

Methods

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.