I have discovered a bug that appears when a RadScheduleView is used with the ScheduleViewStyleSelector to style the appointments and the theme is changed.
Steps to reproduce:
Result: The "old" appearance of the appointments stays after changing the theme.
Expected behavior: The appearance of the appointments changes according to the new theme.
I have attached a solution with the described behavior and an image of the outcome.
public class CustomScheduleView : RadScheduleView
{
protected override void OnActiveViewDefinitionChanged(ViewDefinitionBase oldValue, ViewDefinitionBase newValue)
{
base.OnActiveViewDefinitionChanged(oldValue, newValue);
}
}
I need an overview of the appointments in the range of multiple days of several resources (let's say, employees).
For this, the agenda view would be perfect if it shows the days as rows but the grouped resources as columns.
In the current version it as possible to group by resources in the agenda view, but the single resources can be displayed only as rows along with the days. This way an overview is not possible. At now, I have to put several ScheduleView controls side by side, each displaying a single resource, to achieve the desired view.
Therefore I want to engage a feature request:
Please, in the agenda view, allow a grouping of resources with arranging them in a horizontal way, while the days stay arranged in a vertical manner.
There is a fixed value of 16px set for the Height of the GroupHeader. Thus, when a FontSize bigger than 16px is set, the Text is cut off as the GroupHeader is not resized. The workaround is to predefine the GroupHeaderContentTemplateSelector and remove the fixed Height that is set through it. <telerik:GroupHeaderTemplateSelector x:Key="GroupHeaderContentTemplateSelector"> <telerik:GroupHeaderTemplateSelector.HorizontalTemplate> <DataTemplate> <ContentPresenter Content="{Binding FormattedName}" Margin="4" /> </DataTemplate> </telerik:GroupHeaderTemplateSelector.HorizontalTemplate> <telerik:GroupHeaderTemplateSelector.VerticalTemplate> <DataTemplate> <ContentPresenter Content="{Binding FormattedName}" Margin="4" VerticalAlignment="Top"> <ContentPresenter.LayoutTransform> <RotateTransform Angle="-90" /> </ContentPresenter.LayoutTransform> </ContentPresenter> </DataTemplate> </telerik:GroupHeaderTemplateSelector.VerticalTemplate> </telerik:GroupHeaderTemplateSelector>
When the RecurrenceFrequency is set to Year. The GetOccurrences() method of the RecurrencePattern does not respect the Interval property.
The direction of EditAppointmentDialog, RecurrenceChoiceDialogStyle etc. is always LeftToRight even if the ScheduleView itself is RightToLeft.
Here is the link to the example in the XAML SDK Repository: https://github.com/telerik/xaml-sdk/tree/master/ScheduleView/Database