C# Класс ComponentFactory.Krypton.Docking.KryptonDockingSpace

Наследование: DockingElementClosedCollection
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

Append() публичный Метод

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.
Результат void

CellAppend() публичный Метод

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.
Результат void

CellForPage() публичный Метод

Return the workspace cell that contains the named page.
public CellForPage ( string uniqueName ) : KryptonWorkspaceCell
uniqueName string Unique name for search.
Результат KryptonWorkspaceCell

CellInsert() публичный Метод

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.
Результат void

CellVisiblePages() публичный Метод

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.
Результат ComponentFactory.Krypton.Navigator.KryptonPage[]

KryptonDockingSpace() публичный Метод

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.
Результат System

LoadDockingElement() защищенный Метод

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.
Результат void

LoadElementFromXml() публичный Метод

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.
Результат void

OnSpaceCellPageInserting() защищенный Метод

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.
Результат void

PropogateAction() публичный Метод

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.
Результат void

PropogateAction() публичный Метод

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.
Результат void

PropogateBoolState() публичный Метод

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.
Результат bool?

PropogateCellList() публичный Метод

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.
Результат void

PropogatePageList() публичный Метод

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.
Результат void

PropogatePageState() публичный Метод

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.
Результат ComponentFactory.Krypton.Navigator.KryptonPage

RaiseCellAdding() защищенный абстрактный Метод

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.
Результат void

RaiseCellRemoved() защищенный абстрактный Метод

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.
Результат void

RaiseRemoved() защищенный абстрактный Метод

Raises the type specific space control removed event determinated by the derived class.
protected abstract RaiseRemoved ( ) : void
Результат void

RaiseSpacePageDrop() защищенный абстрактный Метод

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.
Результат void

SaveElementToXml() публичный Метод

Saves docking configuration information using a provider xml writer.
public SaveElementToXml ( XmlWriter xmlWriter ) : void
xmlWriter System.Xml.XmlWriter Xml writer object.
Результат void

SelectPage() публичный Метод

Ensure the provided page is selected within the cell that contains it.
public SelectPage ( string uniqueName ) : void
uniqueName string Unique name to be selected.
Результат void

UpdateStrings() публичный Метод

Update the strings from the docking manager.
public UpdateStrings ( ) : void
Результат void