Xceed Grid for WinForms v4.3 Documentation
DropDownButton Property


Xceed.Editors.v2.6 Assembly > Xceed.Editors Namespace > WinTextBox Class : DropDownButton Property
Gets or sets the WinButton to use to drop-down the DropDownControl associated with the textbox.
Syntax
'Declaration
 
<DescriptionAttribute("The WinButton to use to drop-down the DropDownControl associated with the textbox.")>

<CategoryAttribute("DropDown")>

Public Property DropDownButton As WinButton
'Usage
 
Dim instance As WinTextBox

Dim value As WinButton

 

instance.DropDownButton = value

 

value = instance.DropDownButton
[Description("The WinButton to use to drop-down the DropDownControl associated with the textbox.")]

[Category("DropDown")]

public WinButton DropDownButton {get; set;}

Property Value

A WinButton representing the button to use to drop-down the DropDownControl associated with the textbox. By default, DefaultDropDownButton.
Remarks

A WinButton control can only be assigned as the dropdown button of one control.

If the WinButton control is part of the SideButtons collection of a WinTextBox (or derived) control, and is assigned as the WinTextBox control's DropDownButton, the default value of the AutoSizeMode property will be AutoSizeMode.ScrollBarWidth.

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