C# Class WeifenLuo.WinFormsUI.Docking.DockContent

Inheritance: System.Windows.Forms.Form, IDockContent
显示文件 Open project: dockpanelsuite/dockpanelsuite Class Usage Examples

Private Properties

Property Type Description
DockHandler_DockStateChanged void
FloatAt void
GetPersistString string
IDockContent void
ShouldSerializeTabText bool
Show void

Public Methods

Method Description
Activate ( ) : void
ApplyTheme ( ) : void
DockContent ( ) : System
DockTo ( DockPane paneTo, DockStyle dockStyle, int contentIndex ) : void
DockTo ( DockPanel panel, DockStyle dockStyle ) : void
Hide ( ) : void
IsDockStateValid ( DockState dockState ) : bool
Show ( ) : void
Show ( DockPane previousPane, DockAlignment alignment, double proportion ) : void
Show ( DockPane pane, IDockContent beforeContent ) : void
Show ( DockPanel dockPanel ) : void
Show ( DockPanel dockPanel, DockState dockState ) : void

Protected Methods

Method Description
OnDockStateChanged ( EventArgs e ) : void
OnSizeChanged ( EventArgs e ) : void

Overridden to avoid resize issues with nested controls

http://blogs.msdn.com/b/alejacma/archive/2008/11/20/controls-won-t-get-resized-once-the-nesting-hierarchy-of-windows-exceeds-a-certain-depth-x64.aspx http://support.microsoft.com/kb/953934

Private Methods

Method Description
DockHandler_DockStateChanged ( object sender, EventArgs e ) : void
FloatAt ( Rectangle floatWindowBounds ) : void
GetPersistString ( ) : string
IDockContent ( EventArgs e ) : void
ShouldSerializeTabText ( ) : bool
Show ( DockPanel dockPanel, Rectangle floatWindowBounds ) : void

Method Details

Activate() public method

public Activate ( ) : void
return void

ApplyTheme() public method

public ApplyTheme ( ) : void
return void

DockContent() public method

public DockContent ( ) : System
return System

DockTo() public method

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

DockTo() public method

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

Hide() public method

public Hide ( ) : void
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

OnSizeChanged() protected method

Overridden to avoid resize issues with nested controls
http://blogs.msdn.com/b/alejacma/archive/2008/11/20/controls-won-t-get-resized-once-the-nesting-hierarchy-of-windows-exceeds-a-certain-depth-x64.aspx http://support.microsoft.com/kb/953934
protected OnSizeChanged ( EventArgs e ) : void
e System.EventArgs
return void

Show() public method

public Show ( ) : void
return void

Show() public method

public Show ( DockPane previousPane, DockAlignment alignment, double proportion ) : void
previousPane DockPane
alignment DockAlignment
proportion double
return void

Show() public method

public Show ( DockPane pane, IDockContent beforeContent ) : void
pane DockPane
beforeContent IDockContent
return void

Show() public method

public Show ( DockPanel dockPanel ) : void
dockPanel DockPanel
return void

Show() public method

public Show ( DockPanel dockPanel, DockState dockState ) : void
dockPanel DockPanel
dockState DockState
return void