or
Hello I need to Implement selected changing and cancel the selection if need
How can I do this?
Best regard
Ehud
<radSchedulerView:RadScheduleView FontSize="18" x:Name="_sView" Grid.Column="0" Grid.RowSpan="2"> <radSchedulerView:RadScheduleView.ViewDefinitions> <radSchedulerView:DayViewDefinition DayStartTime="00:00:00" DayEndTime="23:59:59" MinTimeRulerExtent="1800" /> <radSchedulerView:WeekViewDefinition DayStartTime="00:00:00" DayEndTime="23:59:59" MinTimeRulerExtent="1800"/> <!-- MonthView has fixed tick lengths and extents! --> <radSchedulerView:MonthViewDefinition /> <radSchedulerView:TimelineViewDefinition DayStartTime="00:00:00" DayEndTime="23:59:59" MinorTickLength="1day" /> </radSchedulerView:RadScheduleView.ViewDefinitions> </radSchedulerView:RadScheduleView> _sView.AppointmentEditing +=
new EventHandler<AppointmentEditingEventArgs>(OnScheduler_AppointmentEditing);
_sView.AppointmentCreating +=
new EventHandler<AppointmentCreatingEventArgs>(OnScheduler_AppointmentCreating);
private void OnScheduler_AppointmentCreating(object sender, AppointmentCreatingEventArgs e){ e.Cancel = true;}private void OnScheduler_AppointmentDeleting(object sender, AppointmentDeletingEventArgs e) { e.Cancel = true; }_sView.MouseLeftButtonUp += new MouseButtonEventHandler(OnScheduler_MouseLeftButtonUp);
private void OnScheduler_MouseLeftButtonUp(object sender, MouseButtonEventArgs e) { MccmAppointment selectedAppointment = _sView.SelectedAppointment as MccmAppointment;...... }Hello, I have two question about Grid View.
Q1. How to change background color of the title row? I’d tried to change the background color of some columns’ title, but the first column’s background and the border are still black.
Q2. I also don’t know how to change the background of the child table.
Thank you!
Zhiwei.