Skip to main content

valueitemlist-class

Represents list of items

public class Korzh.EasyQuery.WinForms.ValueItemList
: Collection<ValueItem>

Assembly: Korzh.EasyQuery.WinForms.dll

Constructors

NameTypeDescription
ValueItemList(ValueItem parent)voidInitializes a new instance of the Korzh.EasyQuery.WinForms.ValueItemList class.
ValueItemList()voidInitializes a new instance of the Korzh.EasyQuery.WinForms.ValueItemList class.

Properties

NameTypeDescription
DefaultControlListControlGets or sets the default ListControl associated with this list.
EmptyTextstringGets or sets the text which is shown for empty list.
IdstringGets or sets the list ID.
ItemValueItemGets or sets the Korzh.EasyQuery.WinForms.XRow at the specified index.

Methods

NameTypeDescription
Add(string text, string fvalue, string action, string hint)ValueItemCreates and adds new ValueItem object with the specified text, value and action.
Add(string text, string fvalue, string action)ValueItemCreates and adds new ValueItem object with the specified text, value and action.
Add(string text, string fvalue)ValueItemCreates and adds new ValueItem object with the specified text, value and action.
BeginUpdate()voidBegins the update process.
ClearItems()voidRemoves all elements from the System.Collections.ObjectModel.Collection'1.
EndUpdate()voidEnds the update process.
Equals(object obj)boolDetermines whether the specified System.Object is equal to this instance.
GetHashCode()intReturns a hash code for this instance.
InsertItem(int index, ValueItem item)voidInserts an element into the System.Collections.ObjectModel.Collection'1 at the specified index.
LoadFromXml(string xml)voidFills the list by XML.
OnChildChanged()voidCalls Changed event in parent item (if we are not in update process currently).
RemoveItem(int index)voidRemoves the element at the specified index of the System.Collections.ObjectModel.Collection'1.