C# Class ComponentFactory.Krypton.Docking.DockingElement

Implements base docking element functionality.
Inheritance: System.ComponentModel.Component, IDockingElement
Afficher le fichier Open project: Cocotteseb/Krypton Class Usage Examples

Private Properties

Свойство Type Description
IEnumerable IEnumerator

Méthodes publiques

Méthode Description
DemandDockingManager ( ) : void

Checks that this element has access to a docking manager, throwing exception if not.

DemandPagesNotBePresent ( KryptonPage pages ) : void

Checks that the provided set of pages are not already present in the docking hierarchy.

DockingElement ( string name ) : System

Initialize a new instance of the DockingElement class.

FindDockingEdgeAutoHidden ( string uniqueName ) : KryptonDockingEdgeAutoHidden

Find a edge auto hidden element by searching the hierarchy.

FindDockingEdgeDocked ( string uniqueName ) : KryptonDockingEdgeDocked

Find a edge docked element by searching the hierarchy.

FindDockingFloating ( string uniqueName ) : KryptonDockingFloating

Find a floating docking element by searching the hierarchy.

FindDockingNavigator ( string uniqueName ) : KryptonDockingNavigator

Find a navigator element by searching the hierarchy.

FindDockingWorkspace ( string uniqueName ) : KryptonDockingWorkspace

Find a workspace element by searching the hierarchy.

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.

GetEnumerator ( ) : IEnumerator

Shallow enumerate over child docking elements.

GetParentType ( Type findType ) : IDockingElement

Search up the parent chain looking for the specified type of object.

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, int value ) : 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.

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

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

PropogateIntState ( DockingPropogateIntState state, int &value ) : void

Propogates an integer state 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.

ResolvePath ( string path ) : IDockingElement

Resolve the provided path.

SaveElementToXml ( XmlWriter xmlWriter ) : void

Saves docking configuration information using a provider xml writer.

this ( int index ) : IDockingElement

Gets the docking element at the specified index.

this ( string name ) : IDockingElement

Gets the docking element with the specified name.

Méthodes protégées

Méthode Description
LoadChildDockingElement ( XmlReader xmlReader, KryptonPageCollection pages, IDockingElement child ) : void

Perform docking element specific actions for loading a child xml.

LoadDockingElement ( XmlReader xmlReader, KryptonPageCollection pages ) : void

Perform docking element specific actions based on the loading xml.

Private Methods

Méthode Description
IEnumerable ( ) : IEnumerator

Enumerate using non-generic interface.

Method Details

DemandDockingManager() public méthode

Checks that this element has access to a docking manager, throwing exception if not.
public DemandDockingManager ( ) : void
Résultat void

DemandPagesNotBePresent() public méthode

Checks that the provided set of pages are not already present in the docking hierarchy.
public DemandPagesNotBePresent ( KryptonPage pages ) : void
pages ComponentFactory.Krypton.Navigator.KryptonPage
Résultat void

DockingElement() public méthode

Initialize a new instance of the DockingElement class.
public DockingElement ( string name ) : System
name string Initial name of the element.
Résultat System

FindDockingEdgeAutoHidden() public méthode

Find a edge auto hidden element by searching the hierarchy.
public FindDockingEdgeAutoHidden ( string uniqueName ) : KryptonDockingEdgeAutoHidden
uniqueName string Named page for which a suitable auto hidden edge element is required.
Résultat KryptonDockingEdgeAutoHidden

FindDockingEdgeDocked() public méthode

Find a edge docked element by searching the hierarchy.
public FindDockingEdgeDocked ( string uniqueName ) : KryptonDockingEdgeDocked
uniqueName string Named page for which a suitable docking edge element is required.
Résultat KryptonDockingEdgeDocked

FindDockingFloating() public méthode

Find a floating docking element by searching the hierarchy.
public FindDockingFloating ( string uniqueName ) : KryptonDockingFloating
uniqueName string Named page for which a suitable floating element is required.
Résultat KryptonDockingFloating

FindDockingNavigator() public méthode

Find a navigator element by searching the hierarchy.
public FindDockingNavigator ( string uniqueName ) : KryptonDockingNavigator
uniqueName string Named page for which a suitable navigator element is required.
Résultat KryptonDockingNavigator

FindDockingWorkspace() public méthode

Find a workspace element by searching the hierarchy.
public FindDockingWorkspace ( string uniqueName ) : KryptonDockingWorkspace
uniqueName string Named page for which a suitable workspace element is required.
Résultat KryptonDockingWorkspace

FindPageElement() public méthode

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

FindPageLocation() public méthode

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

FindStorePageElement() public méthode

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

GetEnumerator() public méthode

Shallow enumerate over child docking elements.
public GetEnumerator ( ) : IEnumerator
Résultat IEnumerator

GetParentType() public méthode

Search up the parent chain looking for the specified type of object.
public GetParentType ( Type findType ) : IDockingElement
findType System.Type Type of the instance we are searching for.
Résultat IDockingElement

LoadChildDockingElement() protected méthode

Perform docking element specific actions for loading a child xml.
protected LoadChildDockingElement ( XmlReader xmlReader, KryptonPageCollection pages, IDockingElement child ) : void
xmlReader XmlReader Xml reader object.
pages KryptonPageCollection Collection of available pages.
child IDockingElement Optional reference to existing child docking element.
Résultat void

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

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, int value ) : void
action DockingPropogateAction Action that is requested to be performed.
value int Integer value associated with the request.
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

PropogateDragTargets() public méthode

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

PropogateIntState() public méthode

Propogates an integer state request down the hierarchy of docking elements.
public PropogateIntState ( DockingPropogateIntState state, int &value ) : void
state DockingPropogateIntState Integer state that is requested to be recovered.
value int Value discovered from matching
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

ResolvePath() public méthode

Resolve the provided path.
public ResolvePath ( string path ) : IDockingElement
path string Comma separated list of names to resolve.
Résultat IDockingElement

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

this() public méthode

Gets the docking element at the specified index.
public this ( int index ) : IDockingElement
index int Index.
Résultat IDockingElement

this() public méthode

Gets the docking element with the specified name.
public this ( string name ) : IDockingElement
name string Name of element.
Résultat IDockingElement