Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ComboBox.MaxLength Property

Gets or sets the maximum number of characters allowed in the editable portion of a combo box.

[Visual Basic]
Public Property MaxLength As Integer
[C#]
public int MaxLength {get; set;}
[C++]
public: __property int get_MaxLength();
public: __property void set_MaxLength(int);
[JScript]
public function get MaxLength() : int;
public function set MaxLength(int);

Property Value

The maximum number of characters the user can enter. Values of less than zero are reset to zero.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ComboBox Class | ComboBox Members | System.Windows.Forms Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.