DevExpress 向导控件 - 如何取消停靠?
好吧,我在 DevExpress 的文档中找不到这个。我有一个 DevExpress 向导控件,它会自动停靠到它所在的窗体。如何在 Visual Studio 2010 中禁用停靠?我没有看到似乎正在执行此操作的属性,并尝试通过设置...来更改主窗体构造函数中的停靠
wiz.Dock = DockStyle.None;
,但我仍然无法在 Visual Studio 的设计器中取消停靠。我确信这不是一个难题,但谷歌却没有给我带来任何结果。
Okay, I can't find this in DevExpress' documentation. I have a DevExpress Wizard Control which automatically docks to the forms it's in. How can I disable the docking in Visual Studio 2010? I see no property that seems to be doing this and tried to change the docking in the constructor of the main form by setting the...
wiz.Dock = DockStyle.None;
... but I still can't undock in Visual Studio's designer. I'm sure this is no hard question, but Google lead me nowhere.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
以下是 WizardControl 源代码:
因此,唯一的解决方案是将控件放到一个容器上,该容器将定义其客户区。
Here is the code from the WizardControl's source:
So, the only solution is to drop the control onto a container which will define its client area.