C# Class ComponentFactory.Krypton.Docking.KryptonDockingFloatingWindow

Inheritance: DockingElementClosedCollection
Exibir arquivo Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method Description
CellForPage ( string uniqueName ) : KryptonWorkspaceCell

Return the workspace cell that contains the named page.

KryptonDockingFloatingWindow ( string name, Form owner, KryptonDockingFloatspace floatspace ) : System

Initialize a new instance of the KryptonDockingFloatingWindow class.

PropogateAction ( DockingPropogateAction action, string uniqueNames ) : void

Propogates an action request down the hierarchy of docking elements.

PropogateDragTargets ( KryptonFloatingWindow floatingWindow, PageDragEndData dragData, DragTargetList targets ) : void

Propogates a request for drag targets down the hierarchy of docking elements.

SaveElementToXml ( XmlWriter xmlWriter ) : void

Saves docking configuration information using a provider xml writer.

SelectPage ( string uniqueName ) : void

Ensure the provided page is selected within the cell that contains it.

Protected Methods

Method Description
LoadDockingElement ( XmlReader xmlReader, KryptonPageCollection pages ) : void

Perform docking element specific actions based on the loading xml.

Private Methods

Method Description
OnDockingFloatspaceDisposed ( object sender, EventArgs e ) : void
OnFloatingWindowCaptionDragging ( object sender, ScreenAndOffsetEventArgs e ) : void
OnFloatingWindowCloseClicked ( object sender, UniqueNamesEventArgs e ) : void
OnFloatingWindowDisposed ( object sender, EventArgs e ) : void

Method Details

CellForPage() public method

Return the workspace cell that contains the named page.
public CellForPage ( string uniqueName ) : KryptonWorkspaceCell
uniqueName string Unique name for search.
return KryptonWorkspaceCell

KryptonDockingFloatingWindow() public method

Initialize a new instance of the KryptonDockingFloatingWindow class.
public KryptonDockingFloatingWindow ( string name, Form owner, KryptonDockingFloatspace floatspace ) : System
name string Initial name of the element.
owner System.Windows.Forms.Form Reference to form that owns the floating windows.
floatspace KryptonDockingFloatspace Reference to form that will own all the floating window.
return System

LoadDockingElement() protected method

Perform docking element specific actions based on the loading xml.
protected LoadDockingElement ( XmlReader xmlReader, KryptonPageCollection pages ) : void
xmlReader XmlReader Xml reader object.
pages KryptonPageCollection Collection of available pages.
return void

PropogateAction() public method

Propogates an action request down the hierarchy of docking elements.
public PropogateAction ( DockingPropogateAction action, string uniqueNames ) : void
action DockingPropogateAction Action that is requested to be performed.
uniqueNames string Array of unique names of the pages the action relates to.
return void

PropogateDragTargets() public method

Propogates a request for drag targets down the hierarchy of docking elements.
public PropogateDragTargets ( KryptonFloatingWindow floatingWindow, PageDragEndData dragData, DragTargetList targets ) : void
floatingWindow KryptonFloatingWindow Reference to window being dragged.
dragData ComponentFactory.Krypton.Navigator.PageDragEndData Set of pages being dragged.
targets DragTargetList Collection of drag targets.
return void

SaveElementToXml() public method

Saves docking configuration information using a provider xml writer.
public SaveElementToXml ( XmlWriter xmlWriter ) : void
xmlWriter System.Xml.XmlWriter Xml writer object.
return void

SelectPage() public method

Ensure the provided page is selected within the cell that contains it.
public SelectPage ( string uniqueName ) : void
uniqueName string Unique name to be selected.
return void