API ReferenceEditor
public class Editor.AdvancedDropdownItem
A tree node for use with `Editor.AdvancedDropdownWidget`. Items with children are categories; items without children are selectable leaves.
Constructors
Showing 2 constructors
No results match this filter.
Methods
Showing 3 methods
public void Clear()
Remove all children.
No results match this filter.
Properties
Showing 8 properties
public System.Collections.Generic.IReadOnlyList`1<Editor.AdvancedDropdownItem> Editor.AdvancedDropdownItem.Children { get; set; }
public string Editor.AdvancedDropdownItem.Description { get; set; }
public bool Editor.AdvancedDropdownItem.HasChildren { get; set; }
public string Editor.AdvancedDropdownItem.Icon { get; set; }
public System.Action`2<Sandbox.Rect,float> Editor.AdvancedDropdownItem.PaintIcon { get; set; }
Optional custom icon painting. Receives the icon rect and current opacity.
public string Editor.AdvancedDropdownItem.Title { get; set; }
public string Editor.AdvancedDropdownItem.Tooltip { get; set; }
public object Editor.AdvancedDropdownItem.Value { get; set; }
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Editor |
| Type | class |
| Assembly | Sandbox.Tools |
| Doc ID | T:Editor.AdvancedDropdownItem |