C# Class WeifenLuo.WinFormsUI.Docking.DockPanel

Inheritance: Panel
Afficher le fichier Open project: dockpanelsuite/dockpanelsuite Class Usage Examples

Private Properties

Свойство Type Description
BeginDrag void
GetAutoHideWindowBounds Rectangle
GetDockDragHandler DockDragHandler
GetSplitterDragHandler SplitterDragHandler
OnDocumentDragged void
RefreshActiveAutoHideContent void
RefreshAutoHideStrip void
SaveFocus void

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
OnActiveContentChanged ( EventArgs e ) : void
OnActiveDocumentChanged ( EventArgs e ) : void
OnActivePaneChanged ( EventArgs e ) : void

Private Methods

Méthode 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 méthode

public BeginDrag ( ISplitterDragSource dragSource, Rectangle rectSplitter ) : void
dragSource ISplitterDragSource
rectSplitter Rectangle
Résultat void

LoadFromXml() public méthode

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.
Résultat void

LoadFromXml() public méthode

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.
Résultat void

LoadFromXml() public méthode

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.
Résultat void

OnActiveContentChanged() protected méthode

protected OnActiveContentChanged ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnActiveDocumentChanged() protected méthode

protected OnActiveDocumentChanged ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnActivePaneChanged() protected méthode

protected OnActivePaneChanged ( EventArgs e ) : void
e System.EventArgs
Résultat void

SaveAsXml() public méthode

public SaveAsXml ( System.Stream stream, Encoding encoding ) : void
stream System.Stream
encoding Encoding
Résultat void

SaveAsXml() public méthode

public SaveAsXml ( System.Stream stream, Encoding encoding, bool upstream ) : void
stream System.Stream
encoding Encoding
upstream bool
Résultat void

SaveAsXml() public méthode

public SaveAsXml ( string fileName ) : void
fileName string
Résultat void

SaveAsXml() public méthode

public SaveAsXml ( string fileName, Encoding encoding ) : void
fileName string
encoding Encoding
Résultat void