ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

ValueItems.Values Property

Gets the collection of Value/Display Value pairs.

[Visual Basic]

Public Property Values As ValueItemCollection

[C#]

public ValueItemCollection Values {get;set;}

[Delphi]

public property Values: ValueItemCollection read get_Values write set_Values;

Example

The following code gets the collection of ValueItem objects:

·      Visual Basic

       Dim v As C1.Win.C1TrueDBGrid.ValueItemCollection

       v = Me.C1TrueDBGrid1.Columns("Country").ValueItems.Values

·      C#

       C1.Win.C1TrueDBGrid.ValueItemCollection v = this.c1TrueDBGrid1.Columns["Country"].ValueItems.Values;

·      Delphi

       var v: C1.Win.C1TrueDBGrid.ValueItemCollection;

       v := Self.C1TrueDBGrid1.Columns['Country'].ValueItems.Values;

See Also

ValueItems Class | ValueItems Members | C1.Win.C1TrueDBGrid Namespace


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.