private void BtnOffsetPlus10Without_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         ScrollerChangeOffsetsOptions options = new ScrollerChangeOffsetsOptions(0.0, 10.0, ScrollerViewKind.RelativeToEndOfInertiaView, ScrollerViewChangeKind.AllowAnimation, ScrollerViewChangeSnapPointRespect.IgnoreSnapPoints);
         markupScroller.ChangeOffsets(options);
     }
     catch (Exception ex)
     {
         txtExceptionReport.Text = ex.ToString();
     }
 }
        private void BtnChangeOffsets_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                ScrollerChangeOffsetsOptions options = new ScrollerChangeOffsetsOptions(
                    chkHorizontalOrientation.IsChecked == true ? Convert.ToDouble(txtCOAO.Text) : 0,
                    chkHorizontalOrientation.IsChecked == true ? 0 : Convert.ToDouble(txtCOAO.Text),
                    ScrollerViewKind.Absolute,
                    ScrollerViewChangeKind.AllowAnimation,
                    ScrollerViewChangeSnapPointRespect.IgnoreSnapPoints);

                txtStockOffsetsChangeDuration.Text = string.Empty;

                int viewChangeId = scroller.ChangeOffsets(options);
                AppendAsyncEventMessage("Invoked ChangeOffsets Id=" + viewChangeId);
            }
            catch (Exception ex)
            {
                txtExceptionReport.Text = ex.ToString();
                lstScrollerEvents.Items.Add(ex.ToString());
            }
        }