ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1TrueDBDropdown.DisplayMember Property

Gets or sets the property used used for incremental search.

[Visual Basic]

Public Property DisplayMember As String

[C#]

public string DisplayMember {get;set;}

[Delphi]

public property DisplayMember: String read get_DisplayMember write set_DisplayMember;

Example

Suppose one of the columns in your grid contains the first name of each of your customers. In the following code, the First column will be displayed the grid:

·      Visual Basic

       Me.C1TrueDBDropdown1.DisplayMember = "First"

·      C#

       this.c1TrueDBDropdown1.DisplayMember := "First";

·      Delphi

       Self.C1TrueDBDropdown1.DisplayMember := 'First';

See Also

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


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