Adds a ValueItem to the end of the collection.
Parameters
vi
The ValueItem to add.
Return Value
The index at which the ValueItem has been added.
Example
The following code adds the ValueItem to the collection using the Add method:
Me.C1TrueDBGrid1.Columns("Country").ValueItems.Values.Add(VItem)
· C#
this.c1TrueDBGrid1.Columns["Country"].ValueItems.Values.Add(VItem);
· Delphi
Self.C1TrueDBGrid1.Columns['Country'].ValueItems.Values.Add(VItem);
See Also
ValueItemCollection Class | ValueItemCollection Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |