增加 SplitContainerControl 分割栏的大小
我使用的是 SplitContainerControl,它有两个面板。我想增加它们之间的分割器拖动面板的大小,因为很难看到和单击/拖动。有一个属性可以控制这个吗?我可以看到 SplitterBounds 但它是只读的。
I am using a SplitContainerControl which has two panels. I'd like to increase the size of the splitter drag panel between them because it's difficult to see and click/drag. Is there a property that controls this? I can see SplitterBounds but it's readonly.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
splitContainer1.SplitterWidth = 100;
.NET 还有一个独立的分割栏(没有像 SplitContainer 这样的面板);其宽度可以在表单编辑器中更改。独立分离器的一个小技巧是设置对接顺序。
编辑:OP 已进行修改,以表明他正在使用 DevExpress SplitContainerControl 而不是 .NET 本机 SplitContainer。
splitContainer1.SplitterWidth = 100;
.NET also has a standalone splitter bar (without panels like SplitContainer); its width can be changed in the form editor. The slight trick with standalone splitter is setting the docking order.
EDIT: O.P. had revised to show that he's working with DevExpress SplitContainerControl rather than .NET native SplitContainer.
你必须创建一个新皮肤。我发现这很容易。
http://documentation.devexpress.com/#SkinEditor/CustomDocument2547
You have to create a new skin. I found it pretty easy.
http://documentation.devexpress.com/#SkinEditor/CustomDocument2547