[]
        
(Showing Draft Content)

C1.WPF.Calendar.C1MultiMonthCalendar.MonthsPanel

MonthsPanel Property

MonthsPanel

Gets or sets an ItemsPanelTemplate that defines the panel that lays out elements representing separate months. This is a dependency property.

Declaration
public ItemsPanelTemplate MonthsPanel { get; set; }
Remarks

C1Calendar controls supports the next panels:

  • The UniformGrid panel. This is a default setting. A value of the MonthCount property is set automatically according to the available space.
  • The Grid panel. A value of the MonthCount property is set automatically according to the grid definition.
  • The StackPanel panel. The C1Calendar control honors explicitly defined MonthCount property value.
  • The VirtualizingStackPanel panel. The C1Calendar control honors explicitly defined MonthCount property value.
<c1sched:C1Calendar MonthCount="4">
                                                                                                                                                                            <c1sched:C1Calendar.MonthsPanel>
                                                                                                                                                                                <ItemsPanelTemplate> 
                                                                                                                                                                                    <StackPanel Orientation="Horizontal"/>
                                                                                                                                                                                </ItemsPanelTemplate> 
                                                                                                                                                                            </c1sched:C1Calendar.MonthsPanel>
                                                                                                                                                                        </c1sched:C1Calendar>