Scheduler for WinRT
AppointmentsCoverPane Class
Members 


Provides a surface for painting appointment boxes over an arbitrary visual intervals layout.
Object Model
AppointmentsCoverPane Class
Syntax
'Declaration
 
Public Class AppointmentsCoverPane 
   Inherits CoverElementsPane
'Usage
 
Dim instance As AppointmentsCoverPane
public class AppointmentsCoverPane : CoverElementsPane 
Remarks
AppointmentsCoverPane allows you to visually represent a set of appointments that fit in a time range exposed by a current view, and to draw appointment boxes relative to UI elements representing VisualIntervals covered by the appointment. The AppointmentsCoverPane element, being placed somewhere inside C1Scheduler visual tree (usually in C1Scheduler's ControlTemplate), provides a surface where it draws appointment boxes relative to UI elements representing VisualIntervals. AppointmentsCoverPane is capable to recognize the case when the appointment box must be divided into two or more visual boxes, for example, if appointment covers three days in the Working Week View, AppointmentsCoverPane will automatically draw three boxes for the appointment, each box in a corresponding day column, with starting and ending edges positioned at interval UI elements corresponding to start and end time of the appointment in this day.

AppointmentsCoverPane provides this functionality for an arbitrary UI representing VisualIntervals. To make it possible, each element that can be treated as VisualInterval UI representative (usually it's an outer (root) element in the C1Scheduler.VisualIntervalTemplate definition) must have the attached CoverElementsPane.OrientationProperty assigned (CoverElementsPane is the base class for AppointmentsCoverPane). The assigned value indicates a chronological flow direction of interval elements and can take Horizontal or Vertical values. For example, interval elements in the Working Week View have it assigned to Vertical, while elements of Month View assign it to Horizontal. A content of an appointment box of AppointmentsCoverPane is represented by DataTemplate defined in the C1Scheduler.IntervalAppointmentTemplate property.

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
      System.__ComObject
         System.Runtime.InteropServices.WindowsRuntime.RuntimeClass
            Windows.UI.Xaml.DependencyObject
               Windows.UI.Xaml.UIElement
                  Windows.UI.Xaml.FrameworkElement
                     Windows.UI.Xaml.Controls.Control
                        C1.Xaml.Schedule.CoverElementsPane
                           C1.Xaml.Schedule.AppointmentsCoverPane

Requirements

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

See Also

Reference

AppointmentsCoverPane Members
C1.Xaml.Schedule Namespace

 

 


Copyright (c) GrapeCity, inc. All rights reserved.