ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1TrueDBDropdown.DropdownWidth Property

Gets or sets the width of the drop-down.

[Visual Basic]

Public Property DropdownWidth As DropdownWidthEnum

[C#]

public DropdownWidthEnum DropdownWidth {get;set;}

[Delphi]

public property DropdownWidth: DropdownWidthEnum read get_DropdownWidth write set_DropdownWidth;

Example

The following code sets the DropdownWidth property to the width of the column:

·      Visual Basic

       Me.C1TrueDBDropdown1.DropdownWidth = C1.Win.C1TrueDBGrid.DropdownWidthEnum.Column

·      C#

       this.c1TrueDBDropdown1.DropdownWidth = C1.Win.C1TrueDBGrid.DropdownWidthEnum.Column;

·      Delphi

       Self.C1TrueDBDropdown1.DropdownWidth := C1.Win.C1TrueDBGrid.DropdownWidthEnum.Column;

See Also

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


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