Xceed Grid for WinForms v4.3 Documentation
Xceed.Editors.v2.6 Assembly / Xceed.Editors Namespace / WinDatePicker Class / WinDatePicker Constructor / WinDatePicker Constructor(EnhancedBorderStyle,Boolean)
An EnhancedBorderStyle value representing the border style of the WinDatePicker.
true if the DropDownControl can be shown; false otherwise.


In This Topic
    WinDatePicker Constructor(EnhancedBorderStyle,Boolean)
    In This Topic
    Initializes a new instance of the WinDatePicker class specifying its borders and if the DropDownControl can be shown.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal borderStyle As EnhancedBorderStyle, _
       ByVal allowDropDown As Boolean _
    )
    'Usage
     
    Dim borderStyle As EnhancedBorderStyle
    Dim allowDropDown As Boolean
     
    Dim instance As New WinDatePicker(borderStyle, allowDropDown)
    public WinDatePicker( 
       EnhancedBorderStyle borderStyle,
       bool allowDropDown
    )

    Parameters

    borderStyle
    An EnhancedBorderStyle value representing the border style of the WinDatePicker.
    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