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.
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
This is valid for the DayView and the WorkDayView but it could be researched if applicable also for other views. Currently, the maximum height of an appointment is determined by the MinorTickLength applied. If the slots between the ticks are too small, the appointment's subject will be clipped vertically. In Outlook there is a mechanism that applies something like a minimum height which allows the subject to be drawn regardless the actual size of the appointment.
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