WP7 Pivot 锁定某一页面

想要实现锁定Pivot的某一页面,让它不能切换,只要对PivotItem 绑定一下三个事件即可
Gilstock 中用到锁分时图和K线
 
 private void KLPivotItem_ManipulationCompleted(object sender, ManipulationCompletedEventArgs e)
        {
                       e.Handled = true;
        }

        private void KLPivotItem_ManipulationStarted(object sender, ManipulationStartedEventArgs e)
        {
                       e.Handled = true;
        }

        private void KLPivotItem_ManipulationDelta(object sender, ManipulationDeltaEventArgs e)
        {
                       e.Handled = true;
        }
posted @ 2011-11-07 08:51  龙月  阅读(1208)  评论(4编辑  收藏  举报