Example #1
0
 private void innerDefaultControl_ScrollChanged(object sender, NativeScrollChangedEventArgs e)
 {
     ScrollChangedEventArgs args = new ScrollChangedEventArgs()
     {
         HorizontalOffset = ScreenProperties.ConvertPixelsToDPI(e.l),
         HorizontalChange = ScreenProperties.ConvertPixelsToDPI(e.l - e.oldl),
         VerticalOffset = ScreenProperties.ConvertPixelsToDPI(e.t),
         VerticalChange = ScreenProperties.ConvertPixelsToDPI(e.t - e.oldt),
     };
     this.OnScrollChanged(args);
 }
Example #2
0
 protected virtual void Value_ScrollChanged(object sender, ScrollChangedEventArgs e)
 {
 }
Example #3
0
        protected void OnScrollChanged(ScrollChangedEventArgs e)
        {
            this.VerticalOffset = e.VerticalOffset;
            this.HorizontalOffset = e.HorizontalOffset;

            if (this.ScrollChanged != null)
            {
                this.ScrollChanged(this, e);
            }
        }