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.
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.
Now add the appointments in schedule under the specific resource by using ResourceCollection property of it, as follows.
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.
Figure 1: Resource in Day View
The following screenshot displays the resource with appointment in Month View.
Figure 2: Resource in Month View
The following screenshot displays the resource with appointment in TimeLine View.
Figure 3: Resource in TimeLine View
The following screenshot displays the resource with appointment in Week View.
Figure 4: Resource in Week View
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
or the page will be automatically redirected to sign-in page in 10 seconds.