Xamarin.iOS Documentation | ComponentOne
C1.iOS.Calendar Assembly / C1.iOS.Calendar Namespace / C1Calendar Class / ViewMode Property


In This Topic
    ViewMode Property (C1Calendar)
    In This Topic
    Gets or sets a value indicating whether the calendar displays a month, year or decade view.
    Syntax
    'Declaration
     
    
    <Foundation.ExportAttribute("ViewMode")>
    <BrowsableAttribute(True)>
    Public Property ViewMode As CalendarViewMode
    'Usage
     
    
    Dim instance As C1Calendar
    Dim value As CalendarViewMode
     
    instance.ViewMode = value
     
    value = instance.ViewMode
    [Foundation.Export("ViewMode")]
    [Browsable(true)]
    public CalendarViewMode ViewMode {get; set;}
    See Also