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
Constructors
Fields
Name |
Type |
Description |
_parentElement |
ListXElement |
The reference to parent element control |
Properties
Name |
Type |
Description |
ControlType |
string |
Gets the type of the control. |
MultiSelect |
bool |
Gets a value indicating whether the control supports multi selection. |
SelectedItem |
ValueItem |
Gets the selected item. |
Sorting |
XSortOrder |
Gets or sets the sort order for the list |
Visible |
bool |
Gets a value indicating whether this Korzh.EasyQuery.WinForms.ListControl is visible. |
Methods
Name |
Type |
Description |
Dispose() |
void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
Dispose(bool disposing) |
void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
Hide() |
void |
Hides list control |
RefillItems(ValueItemList items) |
void |
Refills the items. |
Show(ListXElement parentElement, Point position) |
void |
Shows list control. |