API ReferenceEditor
AdvancedDropdownItemclass
A tree node for use with `Editor.AdvancedDropdownWidget`. Items with children are categories; items without children are selectable leaves.
object→AdvancedDropdownItem
Constructors2
Showing 2 constructors
No results match this filter.
Methods3
Showing 3 methods
public void Clear()
Remove all children.
Returns:
void—No results match this filter.
Properties8
Showing 8 properties
public System.Collections.Generic.IReadOnlyList`1<Editor.AdvancedDropdownItem> Editor.AdvancedDropdownItem.Children { get; set; }
public string Editor.AdvancedDropdownItem.Description { get; set; }
Returns:
string—public bool Editor.AdvancedDropdownItem.HasChildren { get; set; }
Returns:
bool—public string Editor.AdvancedDropdownItem.Icon { get; set; }
Returns:
string—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; }
Returns:
string—public string Editor.AdvancedDropdownItem.Tooltip { get; set; }
Returns:
string—public object Editor.AdvancedDropdownItem.Value { get; set; }
Returns:
object—No results match this filter.