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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to dynamically change resources in SfSchedule?

The resources that are added in SfSchedule can be dynamically modified to other resources, based on your requirement. The following section explains about this support of dynamic resource change in SfSchedule using Resource Navigation sample.

Navigating to the Resource in SfSchedule

Create a WPF application and add SfSchedule control in it by specifying the resource collection to it.

XAML

ScheduleResourceTypeCollection property of the SfSchedule control has to be bound to the local property.

C#

The schedule appointments can be grouped based on the resources associated with them.

C#

To illustrate Resource Navigation in Schedule, the resources are added in Expander control. While checking or unchecking the Checkboxes in the Expander, it navigates to respective resource and perform Insert or Remove operation based on the IsChecked value of the respective CheckBox.

XAML

Resource Navigation can also be done by button click events, as added in the sample.

C#

Sample Link

ScheduleResourcePagerWithExpander.zip

Screenshot

Figure 1: Dynamically changed resources

 

Article ID: Published Date: Last Revised Date: Platform: Control:
2700 11/18/2014 11/18/2014 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