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

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