Hi,
I'm trying to apply a custom style on my ScheduleView but when there is a Style="{DynamicResource RadScheduleViewStyle1}" in the RadScheduleView arguments, i am losing the Day, Week, etc in the ScheduleViewHeader.
I have edited the template of the ScheduleView by right clicking on the scheduleView -> edit Template -> Edit Copy...
I've put the template in another xaml, ScheduleViewTemplate.xaml.
There was an error with DraggedItemsSource, but I corrected it with this thread: http://www.telerik.com/forums/custom-appointment-problem-since-3-1116-1040
Can you help me to resolve the issue with the ViewDefinitions.
Thank you
Here is my MainWindow.xaml:
<Window x:Class="WpfApplication1.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
Title="MainWindow" Height="550" Width="625">
<Window.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="ScheduleViewTemplate.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Window.Resources>
<Grid>
<telerik:RadScheduleView x:Name="sv" Height="Auto" Style="{DynamicResource RadScheduleViewStyle1}">
<telerik:RadScheduleView.ViewDefinitions>
<telerik:DayViewDefinition />
<telerik:WeekViewDefinition/>
<telerik:MonthViewDefinition/>
<telerik:TimelineViewDefinition/>
</telerik:RadScheduleView.ViewDefinitions>
</telerik:RadScheduleView>
</Grid>
</Window>
I'm trying to apply a custom style on my ScheduleView but when there is a Style="{DynamicResource RadScheduleViewStyle1}" in the RadScheduleView arguments, i am losing the Day, Week, etc in the ScheduleViewHeader.
I have edited the template of the ScheduleView by right clicking on the scheduleView -> edit Template -> Edit Copy...
I've put the template in another xaml, ScheduleViewTemplate.xaml.
There was an error with DraggedItemsSource, but I corrected it with this thread: http://www.telerik.com/forums/custom-appointment-problem-since-3-1116-1040
Can you help me to resolve the issue with the ViewDefinitions.
Thank you
Here is my MainWindow.xaml:
<Window x:Class="WpfApplication1.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
Title="MainWindow" Height="550" Width="625">
<Window.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="ScheduleViewTemplate.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Window.Resources>
<Grid>
<telerik:RadScheduleView x:Name="sv" Height="Auto" Style="{DynamicResource RadScheduleViewStyle1}">
<telerik:RadScheduleView.ViewDefinitions>
<telerik:DayViewDefinition />
<telerik:WeekViewDefinition/>
<telerik:MonthViewDefinition/>
<telerik:TimelineViewDefinition/>
</telerik:RadScheduleView.ViewDefinitions>
</telerik:RadScheduleView>
</Grid>
</Window>