Scheduler for WPF | ComponentOne
C1.WPF.Schedule Namespace / C1Calendar Class / MonthsPanel Property
Example

In This Topic
    MonthsPanel Property (C1Calendar)
    In This Topic
    Gets or sets an ItemsPanelTemplate that defines the panel that lays out elements representing separate months. This is a dependency property.
    Syntax
    'Declaration
     
    
    Public Property MonthsPanel As ItemsPanelTemplate
    public ItemsPanelTemplate MonthsPanel {get; set;}
    Remarks

    C1Calendar controls supports the next panels:

    Example
    <c1sched:C1Calendar MonthCount="4">
        <c1sched:C1Calendar.MonthsPanel>
            <ItemsPanelTemplate> 
                <StackPanel Orientation="Horizontal"/>
            </ItemsPanelTemplate> 
        </c1sched:C1Calendar.MonthsPanel>
    </c1sched:C1Calendar>
    See Also