Free cookie consent management tool by TermsFeed Policy Generator

source: branches/WebJobManager/HeuristicLab.ExtLibs/HeuristicLab.WinFormsUI/2.7.0/WinFormsUI-2.7.0/Docking/Interfaces.cs

Last change on this file was 8616, checked in by mkommend, 12 years ago

#1939: Added DockPanelSuite 2.7.0 to ExtLibs.

File size: 1.3 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        void EndDrag();
32        bool IsDockStateValid(DockState dockState);
33        bool CanDockTo(DockPane pane);
34        void FloatAt(Rectangle floatWindowBounds);
35        void DockTo(DockPane pane, DockStyle dockStyle, int contentIndex);
36        void DockTo(DockPanel panel, DockStyle dockStyle);
37    }
38
39    internal interface ISplitterDragSource : IDragSource
40    {
41        void BeginDrag(Rectangle rectSplitter);
42        void EndDrag();
43        bool IsVertical { get; }
44        Rectangle DragLimitBounds { get; }
45        void MoveSplitter(int offset);
46    }
47}
Note: See TracBrowser for help on using the repository browser.