Render the TimeRuler of the two specific days during the year in DayViewDefinition in the following way: When setting back the clock: 00:00 01:00 02:00 (02:00) 03:00 04:00 ... And when setting it forward it would be: 00:00 01:00 03:00 04:00 ...
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.
When we implement the override CanResize method, it would be interesting to change the cursor if the CanResize method return false. Actually if the method return false, the cursor remain a resize cursor but it not reflecting the reality. Available in the 2016 Q1 Release: Added ResizeCursor property of the AppointmentItem and ScheduleViewDragDropBehavior in order to be able to change the resize cursor initially as well as during the resize operation).
When the appointment is in the AllDayArea and it ends at the CurrentDate and the DayStartTime and DayEndTime are set, the arrow for continuance is still shown.
In WeekView, when ShowWeekGroupHeaders is set, templating the GroupHeaders with GroupHeaderContentTemplateSelector lead to a rendering issue (see attached files). In case I forgot something, here is my GroupHeaderContentTemplateSelector definition : <svcore:GroupHeaderContentTemplateSelector x:Key="_GroupHeaderContentTemplateSelectorKey"> <svcore:GroupHeaderContentTemplateSelector.HorizontalTemplate> <DataTemplate> <ContentPresenter MinHeight="16" Margin="4" Content="{Binding FormattedName, Converter={StaticResource UpperCaseStringConverter}}"/> </DataTemplate> </svcore:GroupHeaderContentTemplateSelector.HorizontalTemplate> <svcore:GroupHeaderContentTemplateSelector.VerticalTemplate> <DataTemplate> <ContentPresenter Margin="4" MinHeight="16" VerticalAlignment="Top" Content="{Binding FormattedName, Converter={StaticResource UpperCaseStringConverter}}"> <ContentPresenter.LayoutTransform> <RotateTransform Angle="-90"/> </ContentPresenter.LayoutTransform> </ContentPresenter> </DataTemplate> </svcore:GroupHeaderContentTemplateSelector.VerticalTemplate> <svcore:GroupHeaderContentTemplateSelector.HorizontalResourceTemplate> <DataTemplate> <Border Background="{Binding Name.DBResource.Color, Converter={StaticResource _SharedStringColorToSolidColorBrushConverterKey}}" Height="60" Margin="2"> <StackPanel Orientation="Vertical" Margin="8"> <TextBlock Foreground="{Binding Name.DBResource.Color, Converter={StaticResource _SharedBackgroundStringColorToForegroundConverterKey}}" FontSize="16" Margin="0" Text="{Binding Name.DisplayName}" /> <TextBlock Foreground="{Binding Name.DBResource.Color, Converter={StaticResource _SharedBackgroundStringColorToForegroundConverterKey}}" FontSize="12" Text="{Binding Name.DBResource.Code}" /> </StackPanel> </Border> </DataTemplate> </svcore:GroupHeaderContentTemplateSelector.HorizontalResourceTemplate> <svcore:GroupHeaderContentTemplateSelector.VerticalResourceTemplate> <DataTemplate> <Border Background="{Binding Name.DBResource.Color, Converter={StaticResource _SharedStringColorToSolidColorBrushConverterKey}}" Width="140" Margin="2"> <StackPanel Margin="8"> <TextBlock Foreground="{Binding Name.DBResource.Color, Converter={StaticResource _SharedBackgroundStringColorToForegroundConverterKey}}" FontSize="16" Margin="-2 3 0 5" Text="{Binding Name.DisplayName}" /> <TextBlock Foreground="{Binding Name.DBResource.Color, Converter={StaticResource _SharedBackgroundStringColorToForegroundConverterKey}}" FontSize="12" Text="{Binding Name.DBResource.Code}" /> </StackPanel> </Border> </DataTemplate> </svcore:GroupHeaderContentTemplateSelector.VerticalResourceTemplate> </svcore:GroupHeaderContentTemplateSelector>
Available in LIB version 2016.3.1107, it will be also available in the 2017 R1 release.
public class CustomScheduleView : RadScheduleView
{
protected override void OnActiveViewDefinitionChanged(ViewDefinitionBase oldValue, ViewDefinitionBase newValue)
{
base.OnActiveViewDefinitionChanged(oldValue, newValue);
}
}
Hello ,
some of our users noticed that the RadScheduleView control has a weird display bug in timeline mode when
The following screenshot shows, what the timeline should look like (I used the default Calendar template and added a few more resources and random appointments for each resource by modifying SampleContentService.cs a bit, see comments in attachment, and adding the resources in CalendarView.xaml, l.316):
And the following Screenshot shows what the same view looks like under the previously mentioned circumstances. It seems that the resource headers are not rendered anymore and all appointments are stuck to the first row.
Steps to reproduce:
Whenever this display bug occurs, any change like scrolling, resizing the window, adding an appointment restores the correct layout.
This problem seems to exist in UI for WPF 2020 R2 and R3
If I can provide you with any more information, please let me know.
Regards,
Simon Müller
Hofmann Fördertechnik GmbH