您的位置:首页 > 其它

WP7 Pivot 锁定某一页面

2011-11-07 08:51 176 查看
想要实现锁定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;
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: