简体   繁体   English

在扩展坞套件对接表单上禁用自动隐藏按钮

[英]Disable Auto-hide button on dockpanel-suite docked form

So, I am am able to disable the Close button on a docked form on DockPanel-Suite and I am wondering if it would be possible to disable the Auto-Hide button as well. 因此,我能够在DockPanel-Suite上的停靠表单上禁用“关闭”按钮,并且我想知道是否也可以禁用“自动隐藏”按钮。 Basically, I am trying to avoid any user to make changes to the layout of the forms on the dock panel. 基本上,我试图避免任何用户更改停靠面板上表单的布局。 I am able to disable to the close button by this code. 我可以通过此代码禁用关闭按钮。

CloseButton = false;
CloseButtonVisible = false;

Is there a similar property that can allow me to disable Auto-Hide button? 是否有类似的属性可以让我禁用“自动隐藏”按钮?

If you check pull request #428 at GitHub repo, you can see a proposed commit. 如果您在GitHub存储库中检查了拉取请求#428,则可以看到建议的提交。

However, my personal opinion is that supporting such magic switches is too much for a project like this. 但是,我个人认为,对于这样的项目,支持这种魔术开关实在太多了。 People who don't want certain elements should derive a new theme from existing ones, and manually removing them. 不需要某些元素的人应该从现有元素中衍生出一个新主题,然后手动将其删除。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM