'Declaration Public Property MinCalendarMode As CalendarZoomMode
public CalendarZoomMode MinCalendarMode {get; set;}
The CalendarBase provides the ability to zoom out to see larger ranges of dates and then zoom back in to change the selection similar to the functionality found in the Microsoft Vista Common Controls Calendar. While the CurrentMode controls the current mode that the contained Infragistics.Controls.Editors.Primitives.CalendarItemGroup instances use to display its items, the MinCalendarMode determines the minimum mode into which the control may zoom. For example, when set the Months, the control will not be able to zoom in any further to allow selection/viewing of individual dates/days.
When the CurrentMode is set to the same value as the MinCalendarMode, interacting within the items (e.g. via the keyboard and mouse) will affect the current SelectedDate and SelectedDates. When the CurrentMode is higher than the MinCalendarMode (i.e. the user has zoomed out), the selection will not be changed via the ui. Instead, the keyboard and mouse will be used to navigate the calendar without affecting the current selection. When the user then zooms in to the MinCalendarMode, they may then modify the selection.
There are two commands (CalendarCommandType.ZoomOutCalendarMode and CalendarCommandType.ZoomInCalendarMode) that may be used to change the CurrentMode.
Note: The value for this property will restrict the available values for the CurrentMode.
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