RestoreToPanel() 공개 메소드

public RestoreToPanel ( ) : void
리턴 void
예제 #1
0
        protected override void WndProc(ref Message m)
        {
            if (m.Msg == (int)Win32.Msgs.WM_LBUTTONDBLCLK)
            {
                if (DockHelper.IsDockStateAutoHide(DockPane.DockState))
                {
                    DockPane.DockPanel.ActiveAutoHideContent = null;
                    return;
                }

                if (!DockPane.DockPanel.AllowEndUserDocking || !DockPane.DockPanel.AllowEndUserNestedDocking)
                {
                    return;
                }

                if (DockPane.IsFloat)
                {
                    DockPane.RestoreToPanel();
                }
                else
                {
                    DockPane.Float();
                }
            }
            base.WndProc(ref m);
        }