Hello,
ASFIK there is no zoom shortcut in RadScheduleView. As slider seems to be not best solution, I'm trying to implement zoom on CTRL+MouseWheel. But RadScheduleView.MouseWheel event is never invoked.
I've done some research and found the following event handler in ScheduleViewBase
MouseWheel event is always handled by control itself.
Is it possible to expose it as done in RadScheduler?
Thanks,
Anatoly
ASFIK there is no zoom shortcut in RadScheduleView. As slider seems to be not best solution, I'm trying to implement zoom on CTRL+MouseWheel. But RadScheduleView.MouseWheel event is never invoked.
I've done some research and found the following event handler in ScheduleViewBase
protected override void OnMouseWheel(MouseWheelEventArgs e)
{
e.Handled = true;
double newDelta = SystemParameters.WheelScrollLines * this.VerticalSmallChange;
if (e.Delta > 0)
{
newDelta = -newDelta;
}
double offset = Math.Min(this.ExtentHeight, Math.Max((double) 0.0, (double) (this.VerticalOffset + newDelta)));
this.VerticalOffset = offset;
base.OnMouseWheel(e);
}
MouseWheel event is always handled by control itself.
Is it possible to expose it as done in RadScheduler?
Thanks,
Anatoly