C# Class ARCed.UI.DockPanel

Inheritance: System.Windows.Forms.Panel
Show file Open project: borisblizzard/arcreator Class Usage Examples

Private Properties

Property Type Description
AddContent void
AddFloatWindow void
AddPane void
BeginDrag void
BeginDrag void
CalculateDockPadding void
DummyControl_Paint void
GetAutoHideWindowBounds System.Drawing.Rectangle
GetDockDragHandler DockDragHandler
GetDockWindowSize int
GetMdiClientController MdiClientController
GetSplitterDragHandler SplitterDragHandler
GetTabStripRectangle System.Drawing.Rectangle
InvalidateWindowRegion void
IsClipRectsChanged bool
IsParentFormValid bool
MdiClientHandleAssigned void
MdiClient_Layout void
ParentFormMdiChildActivate void
PerformMdiClientLayout void
RectangleToMdiClient System.Drawing.Rectangle
RefreshActiveAutoHideContent void
RefreshAutoHideStrip void
RemoveFloatWindow void
RemovePane void
ResetAutoHideStripControl void
ResumeMdiClientLayout void
SaveFocus void
SetAutoHideWindowParent void
SetMdiClient void
SetMdiClientBounds void
SetRegion void
ShouldSerializeDefaultFloatWindowSize bool
SuspendMdiClientLayout void
UpdateWindowRegion void
UpdateWindowRegion_ClipContent void
UpdateWindowRegion_EmptyDocumentArea void
UpdateWindowRegion_FullDocumentArea void

Public Methods

Method Description
DockPanel ( ) : System
DocumentsToArray ( ) : IDockContent[]
LoadFromXml ( System.Stream stream, DeserializeDockContent deserializeContent ) : void
LoadFromXml ( System.Stream stream, DeserializeDockContent deserializeContent, bool closeStream ) : void
LoadFromXml ( string fileName, DeserializeDockContent deserializeContent ) : void
RemoveContent ( IDockContent content ) : void
ResumeLayout ( bool performLayout, bool allWindows ) : void
SaveAsXml ( System.Stream stream, Encoding encoding ) : void
SaveAsXml ( System.Stream stream, Encoding encoding, bool upstream ) : void
SaveAsXml ( string fileName ) : void
SaveAsXml ( string fileName, Encoding encoding ) : void
SetPaneIndex ( DockPane pane, int index ) : void
SuspendLayout ( bool allWindows ) : void
UpdateDockWindowZOrder ( DockStyle dockStyle, bool fullPanelEdge ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void
OnActiveContentChanged ( EventArgs e ) : void
OnActiveDocumentChanged ( EventArgs e ) : void
OnActivePaneChanged ( EventArgs e ) : void
OnContentAdded ( DockContentEventArgs e ) : void
OnContentRemoved ( DockContentEventArgs e ) : void
OnLayout ( System.Windows.Forms.LayoutEventArgs levent ) : void
OnPaint ( PaintEventArgs e ) : void
OnParentChanged ( EventArgs e ) : void
OnRightToLeftChanged ( EventArgs e ) : void
OnVisibleChanged ( EventArgs e ) : void

Private Methods

Method Description
AddContent ( IDockContent content ) : void
AddFloatWindow ( FloatWindow floatWindow ) : void
AddPane ( DockPane pane ) : void
BeginDrag ( IDockDragSource dragSource ) : void
BeginDrag ( ISplitterDragSource dragSource, Rectangle rectSplitter ) : void
CalculateDockPadding ( ) : void
DummyControl_Paint ( object sender, PaintEventArgs e ) : void
GetAutoHideWindowBounds ( Rectangle rectAutoHideWindow ) : Rectangle
GetDockDragHandler ( ) : DockDragHandler
GetDockWindowSize ( DockState dockState ) : int
GetMdiClientController ( ) : MdiClientController
GetSplitterDragHandler ( ) : SplitterDragHandler
GetTabStripRectangle ( DockState dockState ) : Rectangle
InvalidateWindowRegion ( ) : void
IsClipRectsChanged ( Rectangle clipRects ) : bool
IsParentFormValid ( ) : bool
MdiClientHandleAssigned ( object sender, EventArgs e ) : void
MdiClient_Layout ( object sender, System.Windows.Forms.LayoutEventArgs e ) : void
ParentFormMdiChildActivate ( object sender, EventArgs e ) : void
PerformMdiClientLayout ( ) : void
RectangleToMdiClient ( Rectangle rect ) : Rectangle
RefreshActiveAutoHideContent ( ) : void
RefreshAutoHideStrip ( ) : void
RemoveFloatWindow ( FloatWindow floatWindow ) : void
RemovePane ( DockPane pane ) : void
ResetAutoHideStripControl ( ) : void
ResumeMdiClientLayout ( bool perform ) : void
SaveFocus ( ) : void
SetAutoHideWindowParent ( ) : void
SetMdiClient ( ) : void
SetMdiClientBounds ( Rectangle bounds ) : void
SetRegion ( Rectangle clipRects ) : void
ShouldSerializeDefaultFloatWindowSize ( ) : bool
SuspendMdiClientLayout ( ) : void
UpdateWindowRegion ( ) : void
UpdateWindowRegion_ClipContent ( ) : void
UpdateWindowRegion_EmptyDocumentArea ( ) : void
UpdateWindowRegion_FullDocumentArea ( ) : void

Method Details

Dispose() protected method

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

DockPanel() public method

public DockPanel ( ) : System
return System

DocumentsToArray() public method

public DocumentsToArray ( ) : IDockContent[]
return IDockContent[]

LoadFromXml() public method

public LoadFromXml ( System.Stream stream, DeserializeDockContent deserializeContent ) : void
stream System.Stream
deserializeContent DeserializeDockContent
return void

LoadFromXml() public method

public LoadFromXml ( System.Stream stream, DeserializeDockContent deserializeContent, bool closeStream ) : void
stream System.Stream
deserializeContent DeserializeDockContent
closeStream bool
return void

LoadFromXml() public method

public LoadFromXml ( string fileName, DeserializeDockContent deserializeContent ) : void
fileName string
deserializeContent DeserializeDockContent
return void

OnActiveContentChanged() protected method

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

OnActiveDocumentChanged() protected method

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

OnActivePaneChanged() protected method

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

OnContentAdded() protected method

protected OnContentAdded ( DockContentEventArgs e ) : void
e DockContentEventArgs
return void

OnContentRemoved() protected method

protected OnContentRemoved ( DockContentEventArgs e ) : void
e DockContentEventArgs
return void

OnLayout() protected method

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

OnPaint() protected method

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnParentChanged() protected method

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

OnRightToLeftChanged() protected method

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

OnVisibleChanged() protected method

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

RemoveContent() public method

public RemoveContent ( IDockContent content ) : void
content IDockContent
return void

ResumeLayout() public method

public ResumeLayout ( bool performLayout, bool allWindows ) : void
performLayout bool
allWindows bool
return void

SaveAsXml() public method

public SaveAsXml ( System.Stream stream, Encoding encoding ) : void
stream System.Stream
encoding Encoding
return void

SaveAsXml() public method

public SaveAsXml ( System.Stream stream, Encoding encoding, bool upstream ) : void
stream System.Stream
encoding Encoding
upstream bool
return void

SaveAsXml() public method

public SaveAsXml ( string fileName ) : void
fileName string
return void

SaveAsXml() public method

public SaveAsXml ( string fileName, Encoding encoding ) : void
fileName string
encoding Encoding
return void

SetPaneIndex() public method

public SetPaneIndex ( DockPane pane, int index ) : void
pane DockPane
index int
return void

SuspendLayout() public method

public SuspendLayout ( bool allWindows ) : void
allWindows bool
return void

UpdateDockWindowZOrder() public method

public UpdateDockWindowZOrder ( DockStyle dockStyle, bool fullPanelEdge ) : void
dockStyle DockStyle
fullPanelEdge bool
return void