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.

How to customize the default style of Schedule elements in WindowsPhone WinRT?

SfSchedule allows you to customize by overriding the default styles. The following section explains the customization of some basic elements in Schedule.

Customizing Default Style of SfSchedule Elements

Create a Windows Phone WinRT application and add SfSchedule control as follows. Apply the default style customization of Schedule elements as follows.

XAML

Customizing the AllDay foreground in Day View

In order to customize the foreground color of AllDay in Day view, you need to override the default style of ScheduleDaysView control and add the necessary style in the application as follows.

XAML

Customizing the WeekViewItems foreground and Border in Week View

To customize the WeekViewItems foreground and border, you need to override the default style of WeekViewItem control and add the necessary style in the application as follows.

XAML

Customizing the foreground of WeekViewMonthCalendar and Borders in Week View

Similar to customizing the foreground color of the Month calendar text in Week View, you need to override the default style of WeekViewMonthCalendar control and add the necessary style in the application as follows.

XAML

The following example illustrates the default style customization of week view items foreground and Border in Schedule week view.

Sample Link: SfSchedule_WPWinRT.zip

In the above example you can customize the AllDay text, directly, by applying the styles given above for customizing AllDay text and by changing the schedule type to Day View respectively. The output for AllDay Customization is as follows.

Screenshots

Figure 1: AllDay Text customized in SfSchedule Day View

Figure 2: Customization of Week View Items and Border

Figure 3: Customization of Month foreground color in Week View Month Calendar

Article ID: Published Date: Last Revised Date: Platform: Control:
3352 01/22/2015 01/22/2015 Windows Phone SfSchedule
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.