Disabling VisibleRangeChange event

1 posts, 0 answers
  1. Krzysztof
    Krzysztof avatar
    14 posts
    Member since:
    Oct 2007

    Posted 26 Mar 2013 Link to this post

    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

Back to Top