Search
MonthRangeSettings.NumberOfMonths Property
See Also
 





Gets or sets the number of months to display in the MonthRange view.

Namespace: MindFusion.Scheduling.WinForms
Assembly: MindFusion.Scheduling

 Syntax

C#  Copy Code

public int NumberOfMonths { get; set; }

Visual Basic  Copy Code

Public Property NumberOfMonths As Integer

 Property Value

A positive integer value specifying how many months to display in the view. Assign -1 to this property to use the corresponding value from the current theme.

 Remarks

If the number of months is set larger than number of rows multiplied by MonthsPerRow, the calendar displays scrollbar, letting users scroll the view up and down.

 See Also