Xceed Toolkit for .NET Maui v2.0 Documentation
Xceed.Maui.Toolkit Assembly / Xceed.Maui.Toolkit Namespace / DatePicker Class / AutoCloseCalendar Property


In This Topic
    AutoCloseCalendar Property
    In This Topic
    Gets or sets if the Calendar Popup automatically closes when a date is picked in the Calendar.
    Syntax
    'Declaration
     
    
    Public Property AutoCloseCalendar As Boolean
    'Usage
     
    
    Dim instance As DatePicker
    Dim value As Boolean
     
    instance.AutoCloseCalendar = value
     
    value = instance.AutoCloseCalendar
    public bool AutoCloseCalendar {get; set;}
    Remarks
    When the value is set to true, the Popup will close once a selection is made; when the value is set to false, it will remain open even once a selection is made. 
    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