Skip to main content

valueitem-class

Represents one item in RowListElement list of available items

public class Korzh.EasyQuery.WinForms.ValueItem

Assembly: Korzh.EasyQuery.WinForms.dll

Constructors

NameTypeDescription
ValueItem(string fvalue, string text, string action, string hint)voidInitializes a new instance of the Korzh.EasyQuery.WinForms.ValueItem class.
ValueItem(string value, string text, string action)voidInitializes a new instance of the Korzh.EasyQuery.WinForms.ValueItem class.
ValueItem(string value, string text)voidInitializes a new instance of the Korzh.EasyQuery.WinForms.ValueItem class.
ValueItem(string value)voidInitializes a new instance of the Korzh.EasyQuery.WinForms.ValueItem class.

Properties

NameTypeDescription
ActionstringGets or sets the name of action associated with item.
EnabledboolGets or sets a value indicating whether this Korzh.EasyQuery.WinForms.ValueItem is enabled.
HintstringGets or sets the hint.
SelectedboolGets or sets a value indicating whether this Korzh.EasyQuery.WinForms.ValueItem is selected.
SubItemsValueItemListGets the list of sub items.
TextstringGets or sets the item text.
ValuestringGets or sets the item value.

Events

NameTypeDescription
ChangedEventHandlerIndicates that item was changed.

Methods

NameTypeDescription
BeginUpdate()voidBegins the update process for current item. Changed event will not raised during update process
EndUpdate()voidEnds the update process and raise Change event if all updates are finished.
Equals(object obj)boolDetermines whether the specified System.Object is equal to this instance.
GetHashCode()intReturns a hash code for this instance.
GetItemByValue(string val, ValueItem& item)boolGets the item by value.
OnChanged(EventArgs e)voidRaises the Changed event. The event is not raised if we are in update process now
ToString()stringReturns a System.String that represents the current System.Object.