在运行时删除和添加数据透视项不起作用
我正在尝试在运行时添加和删除数据透视项,但它不会导致布局重新绘制自身,因此删除的数据透视项仍然显示。如果我在 OnNavigateTo 方法中添加或删除枢轴项,它就会起作用。但是当页面已经“在那里”而不是在 OnNavigateTo 中时我需要这个。有什么建议吗?
最好的 伊梅
i am trying to add and remove a pivot item at runtime but it does not cause the layout to repaint itself so the removed pivot item still shows. If i add or remove a pivot item in the method OnNavigatedTo, it works. But i need this when the page is already "there", not in OnNavigatedTo. Any suggestions?
Best
Yimei
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我已成功使用以下代码动态添加和删除枢轴项目:-
您如何添加新的枢轴项目?
谢谢
保罗·迪斯顿
I have managed to Add and Remove Pivot Items dynamically using the following code :-
How are you adding the new Pivot Items?
Thanks
Paul Diston