C# Class WeifenLuo.WinFormsUI.Docking.DockPane

Inheritance: System.Windows.Forms.UserControl, IDockDragSource
Exibir arquivo Open project: dockpanelsuite/dockpanelsuite Class Usage Examples

Private Properties

Property Type Description
AddContent void
ClearLastActiveContent void
Close void
CloseContent void
DockPane System
DockPane System
GetFirstContent IDockContent
GetFloatPaneFromContents DockPane
GetFocusedContent IDockContent
GetHitTest HitTestResult
IDockDragSource System.Drawing.Rectangle
IDockDragSource bool
IDockDragSource bool
IDockDragSource void
InternalAddToDockList void
InternalConstruct void
InternalSetDockState void
RefreshChanges void
RefreshChanges void
RefreshStateChange void
RemoveContent void
ResumeRefreshStateChange void
ResumeRefreshStateChange void
SetContentBounds void
SetIsActivated void
SetIsActiveDocumentPane void
SetIsHidden void
SetParent void
SetParent void
SetVisibleContentsToPane void
SetVisibleContentsToPane void
ShowTabPageContextMenu void
SuspendRefreshStateChange void
TestDrop void
ValidateActiveContent void
WndProc void

Public Methods

Method Description
Activate ( ) : void
CloseActiveContent ( ) : void
DockTo ( INestedPanesContainer container ) : DockPane
DockTo ( INestedPanesContainer container, DockPane previousPane, DockAlignment alignment, double proportion ) : DockPane
DockTo ( DockPane pane, DockStyle dockStyle, int contentIndex ) : void
DockTo ( DockPanel panel, DockStyle dockStyle ) : void
Float ( ) : DockPane
FloatAt ( Rectangle floatWindowBounds ) : void
IsDockStateValid ( DockState dockState ) : bool
RestoreToPanel ( ) : void
SetContentIndex ( IDockContent content, int index ) : void
SetDockState ( DockState value ) : DockPane
SetNestedDockingProportion ( double proportion ) : void
Show ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void
DockPane ( IDockContent content, DockPane previousPane, DockAlignment alignment, double proportion, bool show ) : System
DockPane ( IDockContent content, DockState visibleState, bool show ) : System
OnDockStateChanged ( EventArgs e ) : void
OnIsActivatedChanged ( EventArgs e ) : void
OnIsActiveDocumentPaneChanged ( EventArgs e ) : void
OnLayout ( System.Windows.Forms.LayoutEventArgs e ) : void
OnParentChanged ( EventArgs e ) : void

Private Methods

Method Description
AddContent ( IDockContent content ) : void
ClearLastActiveContent ( ) : void
Close ( ) : void
CloseContent ( IDockContent content ) : void
DockPane ( IDockContent content, FloatWindow floatWindow, bool show ) : System
DockPane ( IDockContent content, Rectangle floatWindowBounds, bool show ) : System
GetFirstContent ( DockState dockState ) : IDockContent
GetFloatPaneFromContents ( ) : DockPane
GetFocusedContent ( ) : IDockContent
GetHitTest ( Point ptMouse ) : HitTestResult
IDockDragSource ( Point ptMouse ) : Rectangle
IDockDragSource ( DockPane pane ) : bool
IDockDragSource ( DockState dockState ) : bool
IDockDragSource ( ) : void
InternalAddToDockList ( INestedPanesContainer container, DockPane prevPane, DockAlignment alignment, double proportion ) : void
InternalConstruct ( IDockContent content, DockState dockState, bool flagBounds, Rectangle floatWindowBounds, DockPane prevPane, DockAlignment alignment, double proportion, bool show ) : void
InternalSetDockState ( DockState value ) : void
RefreshChanges ( ) : void
RefreshChanges ( bool performLayout ) : void
RefreshStateChange ( INestedPanesContainer oldContainer, DockState oldDockState ) : void
RemoveContent ( IDockContent content ) : void
ResumeRefreshStateChange ( ) : void
ResumeRefreshStateChange ( INestedPanesContainer oldContainer, DockState oldDockState ) : void
SetContentBounds ( ) : void
SetIsActivated ( bool value ) : void
SetIsActiveDocumentPane ( bool value ) : void
SetIsHidden ( bool value ) : void
SetParent ( ) : void
SetParent ( Control value ) : void
SetVisibleContentsToPane ( DockPane pane ) : void
SetVisibleContentsToPane ( DockPane pane, IDockContent activeContent ) : void
ShowTabPageContextMenu ( Control control, Point position ) : void
SuspendRefreshStateChange ( ) : void
TestDrop ( IDockDragSource dragSource, DockOutlineBase dockOutline ) : void
ValidateActiveContent ( ) : void
WndProc ( Message &m ) : void

Method Details

Activate() public method

public Activate ( ) : void
return void

CloseActiveContent() public method

public CloseActiveContent ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

DockPane() protected method

protected DockPane ( IDockContent content, DockPane previousPane, DockAlignment alignment, double proportion, bool show ) : System
content IDockContent
previousPane DockPane
alignment DockAlignment
proportion double
show bool
return System

DockPane() protected method

protected DockPane ( IDockContent content, DockState visibleState, bool show ) : System
content IDockContent
visibleState DockState
show bool
return System

DockTo() public method

public DockTo ( INestedPanesContainer container ) : DockPane
container INestedPanesContainer
return DockPane

DockTo() public method

public DockTo ( INestedPanesContainer container, DockPane previousPane, DockAlignment alignment, double proportion ) : DockPane
container INestedPanesContainer
previousPane DockPane
alignment DockAlignment
proportion double
return DockPane

DockTo() public method

public DockTo ( DockPane pane, DockStyle dockStyle, int contentIndex ) : void
pane DockPane
dockStyle DockStyle
contentIndex int
return void

DockTo() public method

public DockTo ( DockPanel panel, DockStyle dockStyle ) : void
panel DockPanel
dockStyle DockStyle
return void

Float() public method

public Float ( ) : DockPane
return DockPane

FloatAt() public method

public FloatAt ( Rectangle floatWindowBounds ) : void
floatWindowBounds System.Drawing.Rectangle
return void

IsDockStateValid() public method

public IsDockStateValid ( DockState dockState ) : bool
dockState DockState
return bool

OnDockStateChanged() protected method

protected OnDockStateChanged ( EventArgs e ) : void
e System.EventArgs
return void

OnIsActivatedChanged() protected method

protected OnIsActivatedChanged ( EventArgs e ) : void
e System.EventArgs
return void

OnIsActiveDocumentPaneChanged() protected method

protected OnIsActiveDocumentPaneChanged ( EventArgs e ) : void
e System.EventArgs
return void

OnLayout() protected method

protected OnLayout ( System.Windows.Forms.LayoutEventArgs e ) : void
e System.Windows.Forms.LayoutEventArgs
return void

OnParentChanged() protected method

protected OnParentChanged ( EventArgs e ) : void
e System.EventArgs
return void

RestoreToPanel() public method

public RestoreToPanel ( ) : void
return void

SetContentIndex() public method

public SetContentIndex ( IDockContent content, int index ) : void
content IDockContent
index int
return void

SetDockState() public method

public SetDockState ( DockState value ) : DockPane
value DockState
return DockPane

SetNestedDockingProportion() public method

public SetNestedDockingProportion ( double proportion ) : void
proportion double
return void

Show() public method

public Show ( ) : void
return void