This is a migrated thread and some comments may be shown as answers.

Disabling VisibleRangeChange event

0 Answers 38 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Krzysztof
Top achievements
Rank 1
Krzysztof asked on 26 Mar 2013, 11:43 AM

Dear Telerik Team!

I'm handling SchedulerView's VisibleRangeChange event:

private ICommand visibleRangeChanged;
public ICommand VisibleRangeChanged
{
            get
            {
                return this.visibleRangeChanged;
            }
            set
            {
                this.visibleRangeChanged = value;
            }
}
 
private void OnVisibleRangeExecuted(object param)
{
//my code here
}
 
public bool OnVisibleRangeCanExecute(object param)
{
 return param != null;
 
}

but in some cases, I would like to disable event execution, change some active view definition properties and attach back to the event. Is is possible and if so - could you please tell me how to do it?

Very best regards and thank you in advance
Krzysztof

No answers yet. Maybe you can help?

Tags
ScheduleView
Asked by
Krzysztof
Top achievements
Rank 1
Share this question
or