// This method raises the Tap event void RaiseScrollEvent(int position) { var newEventArgs = new ScopeScrollEventArgs { Position = position, RoutedEvent = ScrollEvent }; RaiseEvent(newEventArgs); ScrollPosition = position; }
// This method raises the Tap event void RaiseScrollEvent(int position) { var newEventArgs = new ScopeScrollEventArgs { Position = position, RoutedEvent = ScrollEvent }; RaiseEvent(newEventArgs); ScrollPosition = position; }