XAML 嵌套 Gridview 禁用外部网格视觉样式 [英] XAML nested Gridview disable outer grid visual styles

查看:30
本文介绍了XAML 嵌套 Gridview 禁用外部网格视觉样式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Windows 8 Metro 应用程序中使用嵌套的 Gridview(另一个网格视图中的 gridview).我想禁用外部网格上所有事件的视觉样式,例如单击、点击和拖动等事件.请帮忙.

I am using nested Gridview (gridview inside another grid view) in Windows 8 metro application. I want to disable visual styles on all the events on outer grid, events like click, tapping, and dragging etc. Please help.

谢谢

推荐答案

您不应该嵌套 GridView.这就像嵌套列表框 - 即使它有效 - 也会让用户感到困惑.

You should not nest GridViews. It is like nesting list boxes - even if it worked - it would be confusing to the user.

这篇关于XAML 嵌套 Gridview 禁用外部网格视觉样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆