Calendar for WPF | ComponentOne
C1.WPF.Calendar Namespace / C1Calendar Class / ChangeViewModeAsync Method
The target mode.
The display date.
true if the transition is animated.

In This Topic
    ChangeViewModeAsync Method
    In This Topic
    Changes the view mode asynchronously performing an animation.
    Syntax
    'Declaration
     
    
    Public Function ChangeViewModeAsync( _
       ByVal mode As CalendarViewMode, _
       Optional ByVal displayDate As Nullable(Of Date), _
       Optional ByVal animate As Boolean _
    ) As Task

    Parameters

    mode
    The target mode.
    displayDate
    The display date.
    animate
    true if the transition is animated.
    See Also