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






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