C# Class WeifenLuo.WinFormsUI.Docking.DockPanel

Inheritance: Panel
Datei anzeigen Open project: dockpanelsuite/dockpanelsuite Class Usage Examples

Private Properties

Property Type Description
BeginDrag void
GetAutoHideWindowBounds Rectangle
GetDockDragHandler DockDragHandler
GetSplitterDragHandler SplitterDragHandler
OnDocumentDragged void
RefreshActiveAutoHideContent void
RefreshAutoHideStrip void
SaveFocus void

Public Methods

Method Description
BeginDrag ( ISplitterDragSource dragSource, Rectangle rectSplitter ) : void
LoadFromXml ( System.Stream stream, DeserializeDockContent deserializeContent ) : void

Loads layout from a stream.

The stream is closed after deserialization.

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

Loads layout from a stream.

LoadFromXml ( string fileName, DeserializeDockContent deserializeContent ) : void

Loads layout from XML file.

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

Protected Methods

Method Description
OnActiveContentChanged ( EventArgs e ) : void
OnActiveDocumentChanged ( EventArgs e ) : void
OnActivePaneChanged ( EventArgs e ) : void

Private Methods

Method Description
BeginDrag ( IDockDragSource dragSource ) : void
GetAutoHideWindowBounds ( Rectangle rectAutoHideWindow ) : Rectangle
GetDockDragHandler ( ) : DockDragHandler
GetSplitterDragHandler ( ) : SplitterDragHandler
OnDocumentDragged ( ) : void
RefreshActiveAutoHideContent ( ) : void
RefreshAutoHideStrip ( ) : void
SaveFocus ( ) : void

Method Details

BeginDrag() public method

public BeginDrag ( ISplitterDragSource dragSource, Rectangle rectSplitter ) : void
dragSource ISplitterDragSource
rectSplitter Rectangle
return void

LoadFromXml() public method

Loads layout from a stream.
The stream is closed after deserialization.
Deserialization might throw exceptions.
public LoadFromXml ( System.Stream stream, DeserializeDockContent deserializeContent ) : void
stream System.Stream The stream.
deserializeContent DeserializeDockContent Deserialization handler.
return void

LoadFromXml() public method

Loads layout from a stream.
Deserialization might throw exceptions.
public LoadFromXml ( System.Stream stream, DeserializeDockContent deserializeContent, bool closeStream ) : void
stream System.Stream The stream.
deserializeContent DeserializeDockContent Deserialization handler.
closeStream bool The flag to close the stream after deserialization.
return void

LoadFromXml() public method

Loads layout from XML file.
Deserialization might throw exceptions.
public LoadFromXml ( string fileName, DeserializeDockContent deserializeContent ) : void
fileName string The file name.
deserializeContent DeserializeDockContent Deserialization handler.
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

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