减小窗口宽度往往会隐藏关闭按钮

时间:2015-07-10 11:50:53

标签: c# docking avalondock

使用AvalonDock库,如果我们减小窗口宽度,则关闭按钮将被隐藏。这是错误的。

理想情况下,它应该从右侧隐藏窗口,而不是从左侧隐藏。

我应该为实现这个目标设置什么属性?

layoutAnchorablemXiRegister.Title = "mXi Register";
layoutAnchorablemXiRegister.Content = mXiRegisterWindow;
layoutAnchorablemXiRegister.ContentId = "layoutAnchorablemXiRegister";
layoutAnchorablemXiRegister.FloatingWidth = 380;
layoutAnchorablemXiRegister.FloatingHeight = 560;
layoutAnchorablemXiRegister.Hiding += new EventHandler<CancelEventArgs>(layoutAnchorable_Hiding);
layoutAnchorablemXiRegister.Hide();
layoutAnchorablemXiRegister.IsVisible = false;
layoutAnchorablemXiRegister.CanAutoHide = false;

0 个答案:

没有答案