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
Introduce properties for customization of the navigation panel such as: - Showing/hiding a today button - Showing/hiding the selected view definition ListBox - Showing/hiding the RadDatePicker and navigation buttons
hi,
I can I make a feature request please for the appointment item control. I'd like to be able to have the delete button hidden depending on whether my appointment wants to hide the delete button. Some appointments can be deleted, some can't. the problem with the current option of using the schedule control is that it's all appointments can be deleted or all appointments can't.
because of all the different themes and complexity around them I don't want to change the actual underlying template, so to resolve this myself I have made a source code change in AppointmentItem.OnApplyTemplate. I have added this code in to create a binding:
// Stefan: start
// Ensure that the can be Show and hidden depending on the appointment type
var deleteButton = GetTemplateChild("DeleteButton") as Button;
if (deleteButton != null)
{
BindingOperations.SetBinding(deleteButton, Button.VisibilityProperty, new Binding()
{
Path = new PropertyPath("Appointment.ShowDeleteButton"),
Converter = new System.Windows.Controls.BooleanToVisibilityConverter()
});
}
// Stefan: end
hopefully this can be built into the system using a multi-binding where you check for the schedule control allowing deletion and then on a per appointment basis.
Thanks,
Stefan