Year View
- 2 minutes to read
The Year View displays appointments for the entire year in a customizable number of months.
To enable the Year View, set the SchedulerControl.ActiveViewType property to Year. To specify the view, use the SchedulerControl.YearView property. This property returns a YearView object.
Tip
Run the following demo to see the view in action: Year View module in the Xtra
The following options customize the view:
Member Name | Description |
---|---|
Month |
Gets or sets the number of months that are displayed in the Year View. |
Start | Gets or sets the first date of the time interval displayed by the scheduler view. |
Appointment |
Contains options that specify how appointments are displayed in the Year View. |
Appearance | Contains appearance settings for the view’s visual elements. |
Selected |
Gets the time interval currently selected in the scheduler’s active view by an end-user. |
Get |
Returns a copy of the visible time interval collection for the current view. |
Set |
Fills the visible time interval collection with new items. |
The following table contains events used to customize the view:
Event Name | Description |
---|---|
Custom |
Use this event to draw Time Cells. |
Custom |
Use this event to draw Navigation Buttons. |
Custom |
Use this event to draw Day of Week Headers. |
Custom |
Use this event to draw a square area in the upper-left corner of the view. |
The table below contains services used to customize the view. Services is a design pattern that separates the implementation of a feature from the control.
Service | Description |
---|---|
Header |
Use this service to format header captions. |
Header |
Use this service to specify custom tooltips for day headers. |