Xamarin.iOS Documentation | ComponentOne
C1.iOS.Calendar Assembly / C1.iOS.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
     
    
    <AsyncStateMachineAttribute(C1.iOS.Calendar.C1Calendar/d__242)> 
    Public Function ChangeViewModeAsync( _ 
       ByVal mode As CalendarViewMode, _ 
       Optional ByVal displayDate As Nullable(Of Date), _ 
       Optional ByVal animate As Boolean _ 
    ) As Task
    'Usage
     
    
    Dim instance As C1Calendar
    Dim mode As CalendarViewMode
    Dim displayDate As Nullable(Of Date)
    Dim animate As Boolean
    Dim value As Task
     
    value = instance.ChangeViewModeAsync(mode, displayDate, animate)
    [AsyncStateMachine(C1.iOS.Calendar.C1Calendar/d__242)] 
    public Task ChangeViewModeAsync( 
       CalendarViewMode mode, 
       Nullable<DateTime> displayDate, 
       bool animate 
    )

    Parameters

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