Xceed Toolkit Plus for WPF v5.1 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit Namespace / DateTimePicker Class / AutoCloseCalendarOnTodayButton Property


In This Topic
    AutoCloseCalendarOnTodayButton Property
    In This Topic
    Gets or sets if the DateTimePicker calendar popup will close once the user clicks on the Today button.
    Syntax
    'Declaration
     
    Public Property AutoCloseCalendarOnTodayButton As Boolean
    'Usage
     
    Dim instance As DateTimePicker
    Dim value As Boolean
     
    instance.AutoCloseCalendarOnTodayButton = value
     
    value = instance.AutoCloseCalendarOnTodayButton
    public bool AutoCloseCalendarOnTodayButton {get; set;}

    Property Value

    The value is true if the calendar popup closes once the user clicks on the Today button; it is false otherwise.
    Requirements

    Target Platforms: Windows 11, Windows 10, 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