我有以下代码:
var hWindow1 = new HostWindow(new Control() {Dock= DockStyle.Fill}, DockType.ToolWindow);
radDock1.DockWindow(hWindow1, DockPosition.Left);
var hWindow2 = new HostWindow(new Control() { Dock = DockStyle.Fill }, DockType.ToolWindow);
radDock1.DockWindow(hWindow2, DockPosition.Bottom);
var hWindow3 = new HostWindow(new Control() { Dock = DockStyle.Fill }, DockType.ToolWindow);
radDock1.DockWindow(hWindow3, DockPosition.Right);
var hWindow4 = new HostWindow(new Control() { Dock = DockStyle.Fill }, DockType.Document);
radDock1.DockWindow(hWindow4, DockPosition.Fill);
var hWindow5 = new HostWindow(new Control() { Dock = DockStyle.Fill }, DockType.Document);
radDock1.AddDocument(hWindow5, hWindow1, DockPosition.Fill);
如何以编程方式更改某些 DockWindow 的宽度(例如hWindow3
)?