C# Class ComponentFactory.Krypton.Docking.KryptonDockingSpace

Inheritance: DockingElementClosedCollection
Afficher le fichier Open project: ComponentFactory/Krypton

Méthodes publiques

Méthode Description
Append ( KryptonPage page ) : void

Add a KryptonPage to the currently active cell or create a new cell is no cell is currently active.

CellAppend ( KryptonWorkspaceCell cell, KryptonPage page ) : void

Add a KryptonPage into an existing cell.

CellForPage ( string uniqueName ) : KryptonWorkspaceCell

Return the workspace cell that contains the named page.

CellInsert ( KryptonWorkspaceCell cell, int index, KryptonPage page ) : void

Add a KryptonPage array into an existing cell starting at the provided index.

CellVisiblePages ( string uniqueName ) : ComponentFactory.Krypton.Navigator.KryptonPage[]

Return an array of the visible pages that are inside the cell that contains the provided unique name.

KryptonDockingSpace ( string name, string storeName ) : System

Initialize a new instance of the KryptonDockingSpace class.

LoadElementFromXml ( XmlReader xmlReader, KryptonPageCollection pages ) : void

Loads docking configuration information using a provider xml reader.

PropogateAction ( DockingPropogateAction action, KryptonPage pages ) : void

Propogates an action request down the hierarchy of docking elements.

PropogateAction ( DockingPropogateAction action, string uniqueNames ) : void

Propogates an action request down the hierarchy of docking elements.

PropogateBoolState ( DockingPropogateBoolState state, string uniqueName ) : bool?

Propogates a boolean state request down the hierarchy of docking elements.

PropogateCellList ( DockingPropogateCellList state, KryptonWorkspaceCellList cells ) : void

Propogates a workspace cell list request down the hierarchy of docking elements.

PropogatePageList ( DockingPropogatePageList state, KryptonPageCollection pages ) : void

Propogates a page list request down the hierarchy of docking elements.

PropogatePageState ( DockingPropogatePageState state, string uniqueName ) : KryptonPage

Propogates a page request 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.

UpdateStrings ( ) : void

Update the strings from the docking manager.

Méthodes protégées

Méthode Description
LoadDockingElement ( XmlReader xmlReader, KryptonPageCollection pages ) : void

Perform docking element specific actions based on the loading xml.

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

Méthode Description
OnSpaceCellAdding ( object sender, WorkspaceCellEventArgs e ) : void
OnSpaceCellRemoved ( object sender, EventArgs e ) : void
OnSpaceControlPageLoading ( object sender, PageLoadingEventArgs e ) : void
OnSpaceControlPageSaving ( object sender, PageSavingEventArgs e ) : void
OnSpaceControlRecreateLoadingPage ( object sender, RecreateLoadingPageEventArgs e ) : void
OnSpaceDisposed ( object sender, EventArgs e ) : void

Method Details

Append() public méthode

Add a KryptonPage to the currently active cell or create a new cell is no cell is currently active.
public Append ( KryptonPage page ) : void
page ComponentFactory.Krypton.Navigator.KryptonPage KryptonPage to be added.
Résultat void

CellAppend() public méthode

Add a KryptonPage into an existing cell.
public CellAppend ( KryptonWorkspaceCell cell, KryptonPage page ) : void
cell KryptonWorkspaceCell Reference to existing workspace cell.
page ComponentFactory.Krypton.Navigator.KryptonPage KryptonPage instance to be added.
Résultat void

CellForPage() public méthode

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

CellInsert() public méthode

Add a KryptonPage array into an existing cell starting at the provided index.
public CellInsert ( KryptonWorkspaceCell cell, int index, KryptonPage page ) : void
cell KryptonWorkspaceCell Reference to existing workspace cell.
index int Index for inserting new pages.
page ComponentFactory.Krypton.Navigator.KryptonPage KryptonPage instance to be added.
Résultat void

CellVisiblePages() public méthode

Return an array of the visible pages that are inside the cell that contains the provided unique name.
public CellVisiblePages ( string uniqueName ) : ComponentFactory.Krypton.Navigator.KryptonPage[]
uniqueName string Unique name of page that is inside the target cell.
Résultat ComponentFactory.Krypton.Navigator.KryptonPage[]

KryptonDockingSpace() public méthode

Initialize a new instance of the KryptonDockingSpace class.
public KryptonDockingSpace ( string name, string storeName ) : System
name string Initial name of the element.
storeName string Name to use for storage pages.
Résultat System

LoadDockingElement() protected méthode

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

LoadElementFromXml() public méthode

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

OnSpaceCellPageInserting() protected méthode

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

PropogateAction() public méthode

Propogates an action request down the hierarchy of docking elements.
public PropogateAction ( DockingPropogateAction action, KryptonPage pages ) : void
action DockingPropogateAction Action that is requested to be performed.
pages ComponentFactory.Krypton.Navigator.KryptonPage Array of pages the action relates to.
Résultat void

PropogateAction() public méthode

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

PropogateBoolState() public méthode

Propogates a boolean state request down the hierarchy of docking elements.
public PropogateBoolState ( DockingPropogateBoolState state, string uniqueName ) : bool?
state DockingPropogateBoolState Boolean state that is requested to be recovered.
uniqueName string Unique name of the page the request relates to.
Résultat bool?

PropogateCellList() public méthode

Propogates a workspace cell list request down the hierarchy of docking elements.
public PropogateCellList ( DockingPropogateCellList state, KryptonWorkspaceCellList cells ) : void
state DockingPropogateCellList Request that should result in the cells collection being modified.
cells KryptonWorkspaceCellList Cells collection for modification by the docking elements.
Résultat void

PropogatePageList() public méthode

Propogates a page list request down the hierarchy of docking elements.
public PropogatePageList ( DockingPropogatePageList state, KryptonPageCollection pages ) : void
state DockingPropogatePageList Request that should result in pages collection being modified.
pages KryptonPageCollection Pages collection for modification by the docking elements.
Résultat void

PropogatePageState() public méthode

Propogates a page request down the hierarchy of docking elements.
public PropogatePageState ( DockingPropogatePageState state, string uniqueName ) : KryptonPage
state DockingPropogatePageState Request that should result in a page reference if found.
uniqueName string Unique name of the page the request relates to.
Résultat ComponentFactory.Krypton.Navigator.KryptonPage

RaiseCellAdding() protected abstract méthode

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

RaiseCellRemoved() protected abstract méthode

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

RaiseRemoved() protected abstract méthode

Raises the type specific space control removed event determinated by the derived class.
protected abstract RaiseRemoved ( ) : void
Résultat void

RaiseSpacePageDrop() protected abstract méthode

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

SaveElementToXml() public méthode

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

SelectPage() public méthode

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

UpdateStrings() public méthode

Update the strings from the docking manager.
public UpdateStrings ( ) : void
Résultat void