Struct HudElementTreeOrder.Node
One element, as far as the tree solver needs to know about it.
Inherited Members
Namespace: Serenity.GameUi.Application.Authoring
Assembly: Serenity.GameUi.Application.dll
Syntax
public readonly struct HudElementTreeOrder.Node
Constructors
Node(string, string, bool)
Creates a node.
Declaration
public Node(string id, string parentId, bool isContainer)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | The element's own id. |
| string | parentId | The id of the box it is nested inside, or empty for a root element. |
| bool | isContainer | Whether this element is itself a FLEXBOX box. |
Fields
Id
The element's own id.
Declaration
public readonly string Id
Field Value
| Type | Description |
|---|---|
| string |
IsContainer
Whether this element is itself a FLEXBOX box that other elements can nest inside.
Declaration
public readonly bool IsContainer
Field Value
| Type | Description |
|---|---|
| bool |
ParentId
The id of the box it is nested inside, or empty for a root element.
Declaration
public readonly string ParentId
Field Value
| Type | Description |
|---|---|
| string |