Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.UIEngine2.VirtualHierarchyLinker Class Reference

Detailed Description

A static handler that gathers standalone AWorkspaceProvider hierarchies bonded in chain to a single virtual one.

Static Public Member Functions

static bool HasVirtualChildHierarchy (this AWorkspaceProvider target)
 Checks is the layout bonded layouts in virtual hierarchy chain. More...
 
static List< AWorkspaceProviderGetVirtualChildLayouts (this AWorkspaceProvider target)
 Returns instance of a layout that exists at the AWorkspaceProvider.ActiveContent's hierarchy. More...
 
static void ReleaseInfo (AWorkspaceGUIElement target)
 Releases precomputed information related to the GUI element for the local registry. More...
 
static AGUIElement GetMultiLayerRoot (this AGUIElement target)
 Looking for parent cross virtual hierarchy chain. More...
 
static bool GetMultiLayerParent (this Window target, out AWorkspaceProvider parent)
 Looking for parent cross virtual hierarchy chain. More...
 
static bool GetMultiLayerParent (this AWorkspaceProvider target, out AWorkspaceProvider parent)
 Looking for parent cross virtual hierarchy chain. More...
 
static bool IsMultiLayerChildOf (this AGUIElement target, AGUIElement parent)
 Checks through the virtual layers if the element included to hierarchy. More...
 
static T GetVirtualComponentInParent< T > (this AGUIElement target)
 Sear for component through virtual hierarchy chain of layouts. More...
 
static T GetVirtualCopmonentInChildren< T > (this AGUIElement target)
 looking for component within hierarchy virtually chained with AWorkspaceProvider instances. More...
 

Member Function Documentation

◆ GetMultiLayerParent() [1/2]

static bool Doloro.UIEngine2.VirtualHierarchyLinker.GetMultiLayerParent ( this AWorkspaceProvider  target,
out AWorkspaceProvider  parent 
)
static

Looking for parent cross virtual hierarchy chain.

Parameters
targetSource layout to parent search.
parentLayout registered as parental for the layout.
Returns
true in case if found. false otherwise.

◆ GetMultiLayerParent() [2/2]

static bool Doloro.UIEngine2.VirtualHierarchyLinker.GetMultiLayerParent ( this Window  target,
out AWorkspaceProvider  parent 
)
static

Looking for parent cross virtual hierarchy chain.

Parameters
targetSource window to parental layout search.
parentLayout registered as parental for the layout.
Returns
true in case if found. false otherwise.

◆ GetMultiLayerRoot()

static AGUIElement Doloro.UIEngine2.VirtualHierarchyLinker.GetMultiLayerRoot ( this AGUIElement  target)
static

Looking for parent cross virtual hierarchy chain.

Parameters
targetSource element to parent search.
Returns
Root element in virtual UI hierarchy chain.

◆ GetVirtualChildLayouts()

static List< AWorkspaceProvider > Doloro.UIEngine2.VirtualHierarchyLinker.GetVirtualChildLayouts ( this AWorkspaceProvider  target)
static

Returns instance of a layout that exists at the AWorkspaceProvider.ActiveContent's hierarchy.

Parameters
targetSource outer layout to virtual children search.
Returns
Collection of instances of layout in case if exist. null otherwise.

◆ GetVirtualComponentInParent< T >()

static T Doloro.UIEngine2.VirtualHierarchyLinker.GetVirtualComponentInParent< T > ( this AGUIElement  target)
static

Sear for component through virtual hierarchy chain of layouts.

Template Parameters
TType of the component to search.
Parameters
targetSearch entry point.
Returns
Instance of first faced component. null if not found.
Type Constraints
T :Component 

◆ GetVirtualCopmonentInChildren< T >()

static T Doloro.UIEngine2.VirtualHierarchyLinker.GetVirtualCopmonentInChildren< T > ( this AGUIElement  target)
static

looking for component within hierarchy virtually chained with AWorkspaceProvider instances.

Template Parameters
TType derived from Component to search.
Parameters
targetStart search point.
Returns
First faced component derived from the type. null if not found.
Type Constraints
T :Component 

◆ HasVirtualChildHierarchy()

static bool Doloro.UIEngine2.VirtualHierarchyLinker.HasVirtualChildHierarchy ( this AWorkspaceProvider  target)
static

Checks is the layout bonded layouts in virtual hierarchy chain.

Parameters
targetOuter layout to check.
Returns
true in case if currently bonded and active entity has child AWorkspaceProvider instance. false in case if elements is the final layout in chain.

◆ IsMultiLayerChildOf()

static bool Doloro.UIEngine2.VirtualHierarchyLinker.IsMultiLayerChildOf ( this AGUIElement  target,
AGUIElement  parent 
)
static

Checks through the virtual layers if the element included to hierarchy.

Parameters
targetElement to check.
parentPossible parent in local or virtual hierarchy.
Returns
true in case if a child. false otherwise.

◆ ReleaseInfo()

static void Doloro.UIEngine2.VirtualHierarchyLinker.ReleaseInfo ( AWorkspaceGUIElement  target)
static

Releases precomputed information related to the GUI element for the local registry.

Parameters
targetElement to registry release.

Use in case if you destroying the object of modifying its hierarchy to prevent bugs when it stays at the save position at the virtual hierarchy chain.


The documentation for this class was generated from the following file: