Free cookie consent management tool by TermsFeed Policy Generator

source: branches/Persistence Test/WinFormsUI/Docking/Interfaces.cs @ 2594

Last change on this file since 2594 was 2134, checked in by gkronber, 15 years ago

Added up to date source of Weifen Luo dock panel suit in a separate project (and added strong name key). Removed binary versions of Weifen Luo dock panel suite and references to it. #687 (Update AdvancedOptimizationFrontend to use more recent version of Weifen Luo Docking library)

File size: 1.2 KB
Line 
1using System;
2using System.Drawing;
3using System.Windows.Forms;
4
5namespace WeifenLuo.WinFormsUI.Docking
6{
7  public interface IDockContent
8  {
9    DockContentHandler DockHandler  { get;  }
10    void OnActivated(EventArgs e);
11    void OnDeactivate(EventArgs e);
12  }
13
14  public interface INestedPanesContainer
15  {
16    DockState DockState { get;  }
17    Rectangle DisplayingRectangle { get;  }
18    NestedPaneCollection NestedPanes  { get;  }
19    VisibleNestedPaneCollection VisibleNestedPanes  { get;  }
20    bool IsFloat  { get;  }
21  }
22
23    internal interface IDragSource
24    {
25        Control DragControl { get; }
26    }
27
28    internal interface IDockDragSource : IDragSource
29    {
30        Rectangle BeginDrag(Point ptMouse);
31        bool IsDockStateValid(DockState dockState);
32        bool CanDockTo(DockPane pane);
33        void FloatAt(Rectangle floatWindowBounds);
34        void DockTo(DockPane pane, DockStyle dockStyle, int contentIndex);
35        void DockTo(DockPanel panel, DockStyle dockStyle);
36    }
37
38    internal interface ISplitterDragSource : IDragSource
39    {
40        void BeginDrag(Rectangle rectSplitter);
41        void EndDrag();
42        bool IsVertical { get; }
43        Rectangle DragLimitBounds { get; }
44        void MoveSplitter(int offset);
45    }
46}
Note: See TracBrowser for help on using the repository browser.