Nevron Open Vision Documentation
Appointment Categorization

Appointment categorization is the process of assigning a category and/or a time marker to the Category and TimeMarker property of the appointment respectively. The categories and time markers (also called "tags") you can choose from are defined by the Categories and TimeMarkers collections of the schedule, which owns the appointments and by default are:

Categories
Fill Name
Orange
Red
Blue
Green
Purple
Yellow
Time Markers
Fill Name
Free
Tentative
Busy
Out of Office

The category affects the background fill of the whole appointment, which by default is light sky blue color fill and the time marker affects the fill of the header, which is by default gray color fill. You can easily add additional categories and time markers or remove some of the default ones by modifying the Categories and TimeMarkers collection of the schedule respectively.

Categories are represented by the NCategory class and time markers - by the NTimeMarker class, which both provide constructors with 4 parameters, you can use to create appointment tags by specifying:

The following piece of code demonstrates how to create an appointment, assign a category and a time marker to it and add it to a schedule:

Assign category and time marker
Copy Code
DateTime today = DateTime.Today;
NAppointment appointment = new NAppointment("Meeting with John", today.AddHours(8), today.AddHours(10));
appointment.Category = "Orange";
appointment.TimeMarker = "Busy";
schedule.Appointments.Add(appointment);
Send Feedback