ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc Namespace / InputDateBase Class / MonthCount Property






In This Topic
    MonthCount Property (InputDateBase)
    In This Topic
    Gets or sets the number of months to display in the drop-down calendar.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DefaultValueAttribute(1)>
    Public Overridable Property MonthCount As System.Integer
    'Usage
     
    
    Dim instance As InputDateBase
    Dim value As System.Integer
     
    instance.MonthCount = value
     
    value = instance.MonthCount
    [System.ComponentModel.DefaultValue(1)]
    public virtual System.int MonthCount {get; set;}
    public read-write property MonthCount: System.Integer; virtual; 
    System.ComponentModel.DefaultValueAttribute(1)
    public function get,set MonthCount : System.int
    [System.ComponentModel.DefaultValue(1)]
    public: __property virtual System.int get_MonthCount();
    public: __property virtual void set_MonthCount( 
       System.int value
    );
    [System.ComponentModel.DefaultValue(1)]
    public:
    virtual property System.int MonthCount {
       System.int get();
       void set (    System.int value);
    }
    Remarks
    The default value for this property is 1.
    See Also