Show / Hide Table of Contents

Class TreeItem

Element of a FancyTree

Inheritance
System.Object
Robust.Client.UserInterface.Control
Robust.Client.UserInterface.Controls.Container
Robust.Client.UserInterface.Controls.PanelContainer
TreeItem
Namespace: Content.Client.UserInterface.Controls.FancyTree
Assembly: Content.Client.dll
Syntax
public sealed class TreeItem : PanelContainer

Constructors

| Improve this Doc View Source

TreeItem()

Declaration
public TreeItem()

Fields

| Improve this Doc View Source

Index

Declaration
public int Index
Field Value
Type Description
System.Int32
| Improve this Doc View Source

Metadata

Declaration
public object? Metadata
Field Value
Type Description
System.Nullable<System.Object>
| Improve this Doc View Source

StyleClassEvenRow

Declaration
public const string StyleClassEvenRow = null
Field Value
Type Description
System.String
| Improve this Doc View Source

StyleClassOddRow

Declaration
public const string StyleClassOddRow = null
Field Value
Type Description
System.String
| Improve this Doc View Source

StyleClassSelected

Declaration
public const string StyleClassSelected = null
Field Value
Type Description
System.String
| Improve this Doc View Source

StyleIdentifierTreeButton

Declaration
public const string StyleIdentifierTreeButton = null
Field Value
Type Description
System.String
| Improve this Doc View Source

Tree

Declaration
public FancyTree Tree
Field Value
Type Description
FancyTree

Properties

| Improve this Doc View Source

Expanded

Declaration
public bool Expanded { get; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

SetExpanded(Boolean)

Declaration
public void SetExpanded(bool value)
Parameters
Type Name Description
System.Boolean value
| Improve this Doc View Source

SetSelected(Boolean)

Declaration
public void SetSelected(bool value)
Parameters
Type Name Description
System.Boolean value
| Improve this Doc View Source

UpdateIcon()

Declaration
public void UpdateIcon()

Events

| Improve this Doc View Source

OnDeselected

Declaration
public event Action<TreeItem>? OnDeselected
Event Type
Type Description
System.Nullable<Action<TreeItem>>
| Improve this Doc View Source

OnSelected

Declaration
public event Action<TreeItem>? OnSelected
Event Type
Type Description
System.Nullable<Action<TreeItem>>

Extension Methods

ControlExtension.GetControlOfType<T>(Control)
ControlExtension.GetControlOfType<T>(Control, String)
ControlExtension.GetControlOfType<T>(Control, Boolean)
ControlExtension.GetControlOfType<T>(Control, String, Boolean)
ControlExtension.GetSearchableControls(Control, Boolean)
ControlExtension.ChildrenContainText(Control, String)
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾