We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to enable Resource and create appointments under it in SfSchedule?

In SfSchedule control, you can easily enable Resource and create appointments under it. Here Resource is used to add additional information about the appointments.

For enabling Resource in SfSchedule

Create a WPF application and add SfSchedule control to it. Now, add resource type in ScheduleResourceTypeCollection as follows.

XAML

 

Note:

In the above code example, only one ResourceType under ScheduleResourceTypeCollection property is added. It is also possible to add more than one resource types. But only one resource type can be viewed in SfSchedule by specifying the corresponding ResourceType name to Resource property of SfSchedule, as follows.

XAML

Now add the appointments in schedule under the specific resource by using ResourceCollection property of it, as follows.

 C#

In the above code, the Resource information of the appointment using ResourceCollection is specified, by adding the Resource information such as ResourceName and the TypeName (ResourceType name) where it exist.

The following screenshot displays the resource with appointment in Day View.

C:\Users\sangavi\Pictures\Screenshots\Screenshot (23).png

Figure 1: Resource in Day View

The following screenshot displays the resource with appointment in Month View.

 

 

C:\Users\sangavi\Pictures\Screenshots\Screenshot (22).png

Figure 2: Resource in Month View

The following screenshot displays the resource with appointment in TimeLine View.

C:\Users\sangavi\Pictures\Screenshots\Screenshot (24).png

Figure 3: Resource in TimeLine View

The following screenshot displays the resource with appointment in Week View.

C:\Users\sangavi\Pictures\Screenshots\Screenshot (25).png

Figure 4: Resource in Week View

Article ID: Published Date: Last Revised Date: Platform: Control:
3502 01/27/2015 01/30/2015 WPF SfSchedule
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon