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


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

   ByVal allowDropDown As Boolean _

)
'Usage
 
Dim allowDropDown As Boolean

 

Dim instance As New WinDatePicker(allowDropDown)
public WinDatePicker( 

   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

WinDatePicker Class
WinDatePicker Members
Overload List