使用扩展器折叠网格行

发布于 2024-12-27 00:29:05 字数 150 浏览 3 评论 0原文

如何对扩展器和放置扩展器的网格行进行数据绑定(扩展器/折叠 = 行/折叠,反之亦然),以便要折叠的行下的下一行会更高?

我需要的是用扩展器(Expander)折叠网格(Grid)行。

PS:两行用 GridSplitter 分隔。

谢谢

How can I databind an Expander and a gridrow where the expander is placed (Expander/Collapsed = Row/Collapsed and vice versa) so that the next row under the row to be collapsed will be higher?

What I need is to collapse a grid (Grid) row with an expander (Expander).

P.S.: The both rows are separated with a GridSplitter.

thx

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

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

发布评论

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

评论(1

木落 2025-01-03 00:29:05

那里的信息有点稀疏,但是你检查过 RowDetails 是否做了你想做的事情吗?

检查此处
举个例子。

A bit sparse on info there, but have you checked if RowDetails does the thing you want to do?

Check here
for an example.

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