Xceed Grid for WinForms v4.3 Documentation
WinNumericTextBox Constructor(Boolean)


Xceed.Editors.v2.6 Assembly > Xceed.Editors Namespace > WinNumericTextBox Class > WinNumericTextBox Constructor : WinNumericTextBox Constructor(Boolean)
true if the DropDownControl can be shown; false otherwise.
Initializes a new instance of the WinNumericTextBox class specifying if the DropDownControl can be used.
Syntax
'Declaration
 
Public Function New( _

   ByVal allowDropDown As Boolean _

)
'Usage
 
Dim allowDropDown As Boolean

 

Dim instance As New WinNumericTextBox(allowDropDown)
public WinNumericTextBox( 

   bool allowDropDown

)

Parameters

allowDropDown
true if the DropDownControl can be shown; false otherwise.
Remarks

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

If allowDropDown 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 WinTextBox.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

WinNumericTextBox Class
WinNumericTextBox Members
Overload List