ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1DataColumn.FilterDropdown Property

Gets or sets a value indicating whether a drop-down list is displayed in the filter cell that lists all the values of the field.

[Visual Basic]

Public Property FilterDropdown As Boolean

[C#]

public bool FilterDropdown {get;set;}

[Delphi]

public property FilterDropdown: Boolean read get_FilterDropdown write set_FilterDropdown;

Example

The following code uses the FilterDropdown property to display the drop-down list in the filter cell:

·      Visual Basic

       Me.C1TrueDBGrid1.Columns(0).FilterDropdown = True

·      C#

       this.c1TrueDBGrid1.Columns[0].FilterDropdown = true;

·      Delphi

       Self.C1TrueDBGrid1.Columns[0].FilterDropdown := True;

See Also

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


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