C1.WPF.Schedule Namespace > C1Calendar Class : MonthCount Property |
'Declaration
Public Property MonthCount As System.Integer
public System.int MonthCount {get; set;}
A default UI of the control is designed so as to fit as many child C1CalendarItem controls as can fit in the current control size, taking into account the size of each single month calendar which is determined by the MonthWidth and MonthHeight properties. As a result, when control is resized, a value of the MonthCount property is changed automatically.
You can change default behavior by using custom ItemsPanelTemplate. For more details see MonthsPanel property description.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2