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;
}
{
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;
}