[英]DevExpress Wizard Control - how to un - dock?
Okay, I can't find this in DevExpress' documentation. 好的,我在DevExpress的文档中找不到此内容。 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? 我有一个DevExpress向导控件,它会自动停靠到它所在的表单。如何在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. ...但是我仍然不能脱离Visual Studio的设计器。 I'm sure this is no hard question, but Google lead me nowhere. 我敢肯定这不是一个难题,但是Google却无济于事。
Here is the code from the WizardControl's source: 这是来自WizardControl源代码:
public override DockStyle Dock {
get { return base.Dock; }
set { base.Dock = DockStyle.Fill; }
}
So, the only solution is to drop the control onto a container which will define its client area. 因此,唯一的解决方案是将控件放到将定义其客户区的容器上。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.