C# Class ComponentFactory.Krypton.Docking.KryptonDockingFloatspace

Inheritance: KryptonDockingSpace
显示文件 Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method Description
FindPageElement ( string uniqueName ) : IDockingElement

Find the docking element that contains the named page.

FindPageLocation ( string uniqueName ) : DockingLocation

Find the docking location of the named page.

FindStorePageElement ( DockingLocation location, string uniqueName ) : IDockingElement

Find the docking element that contains the location specific store page for the named page.

KryptonDockingFloatspace ( string name ) : System

Initialize a new instance of the KryptonDockingFloatspace class.

LoadElementFromXml ( XmlReader xmlReader, KryptonPageCollection pages ) : void

Loads docking configuration information using a provider xml reader.

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

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

Protected Methods

Method Description
OnSpaceCellPageInserting ( object sender, KryptonPageEventArgs e ) : void

Occurs when a page is added to a cell in the workspace.

RaiseCellAdding ( KryptonWorkspaceCell cell ) : void

Raises the type specific cell adding event determinated by the derived class.

RaiseCellRemoved ( KryptonWorkspaceCell cell ) : void

Raises the type specific cell removed event determinated by the derived class.

RaiseRemoved ( ) : void

Raises the type specific space control removed event determinated by the derived class.

RaiseSpacePageDrop ( object sender, PageDropEventArgs e ) : void

Occurs when a page is dropped on the control.

Private Methods

Method Description
OnFloatspaceBeforePageDrag ( object sender, PageDragCancelEventArgs e ) : void
OnFloatspaceDropDownClicked ( object sender, CancelDropDownEventArgs e ) : void
OnFloatspacePageCloseClicked ( object sender, UniqueNameEventArgs e ) : void
OnFloatspacePagesDoubleClicked ( object sender, UniqueNamesEventArgs e ) : void

Method Details

FindPageElement() public method

Find the docking element that contains the named page.
public FindPageElement ( string uniqueName ) : IDockingElement
uniqueName string Unique name of the page.
return IDockingElement

FindPageLocation() public method

Find the docking location of the named page.
public FindPageLocation ( string uniqueName ) : DockingLocation
uniqueName string Unique name of the page.
return DockingLocation

FindStorePageElement() public method

Find the docking element that contains the location specific store page for the named page.
public FindStorePageElement ( DockingLocation location, string uniqueName ) : IDockingElement
location DockingLocation Location to be searched.
uniqueName string Unique name of the page to be found.
return IDockingElement

KryptonDockingFloatspace() public method

Initialize a new instance of the KryptonDockingFloatspace class.
public KryptonDockingFloatspace ( string name ) : System
name string Initial name of the element.
return System

LoadElementFromXml() public method

Loads docking configuration information using a provider xml reader.
public LoadElementFromXml ( XmlReader xmlReader, KryptonPageCollection pages ) : void
xmlReader XmlReader Xml reader object.
pages KryptonPageCollection Collection of available pages for adding.
return void

OnSpaceCellPageInserting() protected method

Occurs when a page is added to a cell in the workspace.
protected OnSpaceCellPageInserting ( object sender, KryptonPageEventArgs e ) : void
sender object Source of the event.
e KryptonPageEventArgs A KryptonPageEventArgs containing the event data.
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

RaiseCellAdding() protected method

Raises the type specific cell adding event determinated by the derived class.
protected RaiseCellAdding ( KryptonWorkspaceCell cell ) : void
cell KryptonWorkspaceCell Referecence to new cell being added.
return void

RaiseCellRemoved() protected method

Raises the type specific cell removed event determinated by the derived class.
protected RaiseCellRemoved ( KryptonWorkspaceCell cell ) : void
cell KryptonWorkspaceCell Referecence to an existing cell being removed.
return void

RaiseRemoved() protected method

Raises the type specific space control removed event determinated by the derived class.
protected RaiseRemoved ( ) : void
return void

RaiseSpacePageDrop() protected method

Occurs when a page is dropped on the control.
protected RaiseSpacePageDrop ( object sender, PageDropEventArgs e ) : void
sender object Source of the event.
e ComponentFactory.Krypton.Navigator.PageDropEventArgs A PageDropEventArgs containing the event data.
return void