使用 gridsplitter 重置网格中的列定义?
我有一个带有两列的网格,中间有一个网格分割器。所以用户可以使用自己划分的网格。现在我寻找一种将网格重置为启动的方法(两列的宽度相同)。
我得到了一个没有 Gridsplitter 的解决方案:列的宽度属性采用样式,并且可以使用按钮和 InteractionTrigger 进行切换。但当网格分割器被移动时,这种方法就不起作用了。
Gritsplitter 在网格中到底做什么?
多谢。
i ve got a grid with two columns and a gridsplitter in the middle. So the user can use his own division of the grid. Now i search for a way to reset the Grid to start (both columns are in the same width).
A solution without the Gridsplitter i ve got: the Width-Property of the columns are in styles and these are switchable with a button and a InteractionTrigger. But this way doesn't work when the gridsplitter have been moved.
What do the Gritsplitter exactlly in the grid?
Thanks a lot.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论