Unplanned
Last Updated: 16 Oct 2019 12:26 by ADMIN
Grant
Created on: 15 Oct 2019 08:56
Category: Calendar & Scheduling
Type: Bug Report
1
Calendar: [UWP] ViewChanged event is not fired

I've attached a handler to the ViewChanged event of the Calendar component.

The event fires on Android but not on UWP. I've tried changing the view type using the calendar controls and also programatically but the event is not being fired.

1 comment
ADMIN
Didi
Posted on: 16 Oct 2019 12:26

Hi Grant,

I have tested the described scenario and I reproduced the issue on my side. 

I have converted this support ticket into a public feedback item. Please follow it in order to receive an email notifications when its status changes. I have also updated your Telerik points as a small sign of gratitude for your involvement. 

Workaround:

To find when the calendar changes its view and mode states you have to subscribe to its PropertyChanged event and look for the ViewMode property in the event handler, here is a quick example:

private void calendar_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
{
    if (e.PropertyName == nameof(RadCalendar.ViewMode))
    {
        // Mode and view are changed
    }
}

I hope the provided information was helpful. 

Regards,
Didi
Progress Telerik