Xceed Grid for WinForms v4.3 Documentation
AllowDropDown Property (WinTextBox)


Xceed.Editors.v2.6 Assembly > Xceed.Editors Namespace > WinTextBox Class : AllowDropDown Property
Gets or sets a boolean value indicating if the dropdown can be shown.
Syntax
'Declaration
 
<DescriptionAttribute("Indicates if the dropdown can be shown.")>

<CategoryAttribute("DropDown")>

Public Property AllowDropDown As Boolean
'Usage
 
Dim instance As WinTextBox

Dim value As Boolean

 

instance.AllowDropDown = value

 

value = instance.AllowDropDown
[Description("Indicates if the dropdown can be shown.")]

[Category("DropDown")]

public bool AllowDropDown {get; set;}

Property Value

true if the dropdown can be shown; false otherwise. By default, DefaultAllowDropDown.
Remarks

Setting the AllowDropDown property to false does not imply that the DropDownControl is a null reference (Nothing in Visual Basic).

If the AllowDropDown property is set to false, the DropDownButton will be hidden and an exception will be thrown if an attempt is made to open the dropdown programatically using the DroppedDown property or the OpenDropDown method.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WinTextBox Class
WinTextBox Members