By default, the XamDateTimeEditor will show a dropdown as long as it it can enter edit mode and has a date mask - i.e. it will not show if the Mask is set to a time-only input mask. The AllowDropDown property can be used to prevent the dropdown from being available even when the editor is used to edit a date. When set to false, the editor will not attempt to show the dropdown calendar when using the mouse or keyboard.
' by default the XamDateTimeEditor will use a XamMonthCalendar ' dropdown if the mask has date sections. this can be prevented ' by setting the AllowDropDown to false Me.xamDateTimeEditor1.Mask = "{date}" Me.xamDateTimeEditor1.AllowDropDown = False
// by default the XamDateTimeEditor will use a XamMonthCalendar // dropdown if the mask has date sections. this can be prevented // by setting the AllowDropDown to false this.xamDateTimeEditor1.Mask = "{date}"; this.xamDateTimeEditor1.AllowDropDown = false;
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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