Version

ZoomInCalendarMode Field

Decreases the CurrentCalendarMode to a smaller date range - e.g. from Months to Days.
Syntax
'Declaration
 
Public Shared ReadOnly ZoomInCalendarMode As RoutedCommand
public static readonly RoutedCommand ZoomInCalendarMode
Example
The following sample demonstrates how to initialize the MinCalendarMode to control the smallest calendar date range that the end user can navigate to. It also utilizes some of the available commands for controlling the CurrentCalendarMode.

<UserControl x:Class="Xaml.UserControl1"
    
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    
xmlns:sys="clr-namespace:System;assembly=mscorlib"
    
xmlns:igEditors="http://infragistics.com/Editors"
    
xmlns:igThemes="http://infragistics.com/Themes">
    
<DockPanel>
        
<ToolBar DockPanel.Dock="Top">
            
<Button Command="{x:Static igEditors:MonthCalendarCommands.ZoomOutCalendarMode}"
                    
CommandTarget="{Binding ElementName=xamMonthCalendar1}"
                    
Content="Zoom Out" />
            
<Button Command="{x:Static igEditors:MonthCalendarCommands.ZoomInCalendarMode}"
                    
CommandTarget="{Binding ElementName=xamMonthCalendar1}"
                    
Content="Zoom In" />
        
</ToolBar>
        
<igEditors:XamMonthCalendar
            
x:Name="xamMonthCalendar1"
            
MinCalendarMode="Months" 
            
CurrentCalendarMode="Years" />
    
</DockPanel>
</UserControl>
Requirements

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

See Also