I created a program which uses
OnManipulationStarted(ManipulationStartedEventArgs e)
then I found
base.OnManipulationStarted(e)
which was automatically inserted in the code….I have commented that line and checked the program which gave no change in output of program..For what reason does this code exist in the default method ??
OnManipulationStarted(ManipulationStartedEventArgs e)
Any help please…Thanks in Advance..
It calls the base class implementation of the method.
In particular, if you don’t make that call, I wouldn’t expect the
ManipulationStartedEventto actually be raised. My guess is that you haven’t seen any change in behaviour because nothing’s subscribed to that event.Unless you’re deliberately suppressing the event (which sounds like a thoroughly bad idea to me) you should keep the base call.