ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc Namespace / Calendar Class / ShowYearPicker Property






In This Topic
    ShowYearPicker Property (Calendar)
    In This Topic
    Gets or sets a value that determines whether the calendar should display a list of years when the user clicks the header element on the year calendar.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DefaultValueAttribute(True)>
    Public Property ShowYearPicker As System.Boolean
    'Usage
     
    
    Dim instance As Calendar
    Dim value As System.Boolean
     
    instance.ShowYearPicker = value
     
    value = instance.ShowYearPicker
    [System.ComponentModel.DefaultValue(true)]
    public System.bool ShowYearPicker {get; set;}
    public read-write property ShowYearPicker: System.Boolean; 
    System.ComponentModel.DefaultValueAttribute()
    public function get,set ShowYearPicker : System.boolean
    [System.ComponentModel.DefaultValue(true)]
    public: __property System.bool get_ShowYearPicker();
    public: __property void set_ShowYearPicker( 
       System.bool value
    );
    [System.ComponentModel.DefaultValue(true)]
    public:
    property System.bool ShowYearPicker {
       System.bool get();
       void set (    System.bool value);
    }
    Remarks
    The default value for this property is true.
    See Also