使用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;