ComponentOne Xamarin.Android
ChangeViewModeAsync Method


C1.Android.Calendar Assembly > C1.Android.Calendar Namespace > C1Calendar Class : ChangeViewModeAsync Method
The target mode.
The display date.
true if the transition is animated.
Changes the view mode asynchronously performing an animation.
Syntax
'Declaration
 
<AsyncStateMachineAttribute(C1.Android.Calendar.C1Calendar/d__247)> 
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.Android.Calendar.C1Calendar/d__247)] 
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

Reference

C1Calendar Class
C1Calendar Members