| Visual Basic (Declaration) | |
|---|---|
Public Function Zoom( _ ByVal calendarType As CalendarType _ ) As Boolean  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim instance As DropDownCalendar Dim calendarType As CalendarType Dim value As Boolean value = instance.Zoom(calendarType)  | |
| C# | |
|---|---|
public bool Zoom( CalendarType calendarType )  | |
Parameters
- calendarType
 - A CalendarType enumeration that specifies the target calendar type.
 
Return Value
A bool value, true if the calendar type has changed; otherwise, false.This method can change the CalendarType of this DropDownCalendar. If the operation succeeds, the true value is returned; otherwise, false.
            
            
            
            
            Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8