You can add Outlook-style scheduling to your .NET apps with this complete scheduler solution. Scheduler for WinForms includes five built-in views, recurring appointments, reminders, labels, data binding, grouping, import/export capabilities, and much more.

Introducing Outlook 2016 views in Scheduler for WinForms

With 2018v2 release of ComponentOne Studio, Outlook 2016 views are the latest addition to Scheduler for WinForms.
The Scheduler control allows user to create, manage appointments, and also effectively display data using various view types, each tailored according to the specific requirements.

As an addition to the existing ViewTypes: Day, Week, Work Week, Month, and Timeline views, the 2018v2 release offers more options to view appointments by introducing new views.

New Outlook 2016 views

The AgendaView Control

The AgendaView control is a sequential list of appointments grouped by start date.
This view shows all occurrences of an appointment as different records. Also, it supports editing the appointment using an EditAppointment dialog.

The TableView Control

The TableView control is a tabular display of appointments where each record represents an appointment. Its information like subject, attachment, start/end date, and category are shown as columns. Just like grids that come in tabular structure, it can be grouped, sorted and filtered. This view contains two additional views: Active and List.

The Active view does not show overdue events; however, the List view displays all of your events in the calendar. In addition to an EditAppointment dialog, TableView also supports in-place editing.

In this blog we’ll explore:

  • When to use Outlook 2016 views
  • Adding Outlook 2016 views
  • Configuring Outlook 2016 views

When to Use Outlook 2016 Views

AgendaView: This view is best suited for scenarios where we need to know the upcoming appointments but the space available is limited.

For example:

  • Searching in a calendar, the drop down shows the appointment information in brief.
  • Showing a list of upcoming appointments beneath the calendar.

AgendaView

TableView: This view is suited for scenarios when knowing the subject of appointment is not enough information. The TableView shows each part of the appointment information. Use this view when there is a large list of appointments and when the categorization needs to be viewed.

TableView

Adding Outlook 2016 views

How to add Outlook 2016 views in Scheduler for WinForms

  • First, add reference to C1.Win.C1Schedule.Extended.4 assembly in your project. This assembly consists of the new Outlook2016 views.
  • Add C1Scheduler and follow the basic steps to load data. Refer to our documentation for this step.
  • Place C1AgendaView and C1TableView on the form’s designer surface.
  • Set the C1AgendaView’s and C1TableView’s Schedule property to the object name of C1Scheduler associated with this view.
     c1AgendaView1.Schedule = c1Schedule1;  
     c1TableView1.Schedule = c1Schedule1;  

AgendaView AgendaView

Configuring the Outlook 2016 views

In the above section, we discussed how to add basic Outlook v2016 views with default settings. Now we’ll see how we can further configure the views:

  • By default, C1TableView sorts the list by Start field and groups them by Recurrence field, you can change this behaviour to sort and group the list by any field.
c1TableView1.Sort(C1.Win.C1FlexGrid.SortFlags.Descending, 3);  
c1TableView1.GroupDescriptions=new GroupDescription[] {new GroupDescription("Subject") };
  • Also, you can format the text displayed in group row.
c1TableView1.GroupHeaderFormat = "{name}:{value} {count} Appointments";
  • Similarly, header for C1AgendaView can also be formatted.

AgendaView AgendaView

To learn more about adding Outlook-style scheduling to your .NET apps, visit our Scheduler for WinForms page. Here, we discuss managing appointments, localization support, HTML text support, importing and export data, flexible data binding, and more.

Download C# product sample

Get started with Scheduler

Download the latest version of ComponentOne Studio Enterprise

Download Now!