VisibleDatesChangedEventArgs - Inheritance Hierarchy bug


Class VisibleDatesChangedEventArgs is inherited from Object, instead of EventArgs, causing some problem with behavior that converts Events to Commands (such as EventToCommandBehavior), or any other usage that relies on EventArgs to be the base class of all InsertYourEventNameHereEventArgs.

Solution:
Change VisibleDatesChangedEventArgs parent class to EventArgs, from Object.

1 Reply

SG Swathi Gopal Syncfusion Team December 11, 2017 07:38 AM UTC

Hi Vadim, 
  
Thank you for contacting Syncfusion Support. 
  
We have checked with the mentioned issue with VisibleDatesChangedEventArgs in schedule xamarin forms. In our schedule source, we have inherited VisibleDatesChangedEventArgs from EventArgs only and we have created a simple sample for the same.In the sample we have binded VisibleDatesChangedEvent in xaml(EventToCommandBehavior).Kindly find the sample below, 
  
  
Could you please confirm us the following details, 
  
·       Schedule version used. 
·       Specific scenario/data handled using the events in schedule. 
  
If the given solution doesn’t work, could you please modify the provided sample along with its reproducing procedure? It will be helpful for us to analyze on your requirement and provide you a possible solution. 
  
Regards, 
Swathi G 


Loader.
Up arrow icon