如何隐藏 Silverlight 3 DataForm 控件的标题

发布于 2024-07-20 12:49:20 字数 126 浏览 11 评论 0原文

我在 SL3 应用程序中使用 DataForm 控件,默认情况下它有一个带有一些图标的标题(编辑、删除、导航等),我可以防止大多数图标出现在标题上,但是 想要一起删除标题。 谷歌没有太多运气......

I'm using the DataForm control in my SL3 app, it has a header with some icons by default (edit, delete, navigation etc. etc.), I can prevent most of the icons from appearing on the header, but want to get rid of the header all together. haven't had much luck with google...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

垂暮老矣 2024-07-27 12:49:20

在 xaml 中设置数据表单的属性,如下所示:

CommandButtonsVisibility="None"

In xaml set the property on the dataform like so:

CommandButtonsVisibility="None"
一腔孤↑勇 2024-07-27 12:49:20

我在 SL3 中新弹出控件的标题上也遇到了类似的问题。

修改新弹出窗口的外观/行为Silverlight 3 中的控件(ChildWindow)

相同的解决方案?

I had a similar problem with the header of the new popup control in SL3.

Modifying look/behavior of the new Popup control (ChildWindow) in Silverlight 3

Same solution?

计㈡愣 2024-07-27 12:49:20

不太确定 Silverlight 3,但在 Silverlight 4 中是这样的:

HeaderVisibility="Collapsed"

Not too sure of Silverlight 3, but in Silverlight 4 it's like this:

HeaderVisibility="Collapsed"
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文