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






In This Topic
    FormatYear Property (Calendar)
    In This Topic
    Gets or sets the format used to display the year above the months in year view.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DefaultValueAttribute("yyy")>
    Public Property FormatYear As System.String
    'Usage
     
    
    Dim instance As Calendar
    Dim value As System.String
     
    instance.FormatYear = value
     
    value = instance.FormatYear
    [System.ComponentModel.DefaultValue("yyy")]
    public System.string FormatYear {get; set;}
    public read-write property FormatYear: System.String; 
    System.ComponentModel.DefaultValueAttribute("yyy")
    public function get,set FormatYear : System.String
    [System.ComponentModel.DefaultValue("yyy")]
    public: __property System.string* get_FormatYear();
    public: __property void set_FormatYear( 
       System.string* value
    );
    [System.ComponentModel.DefaultValue("yyy")]
    public:
    property System.String^ FormatYear {
       System.String^ get();
       void set (    System.String^ value);
    }
    Remarks
    The default value for this property is 'yyyy'.
    See Also