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






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