public sealed class TreeRowOne realised row of a TreeView.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
⚠ Rebound rather than rebuilt. Scrolling a tree recycles these — the row that leaves the top is the row that appears at the bottom, with a different node in it — so a scroll costs a handful of property writes rather than a tear-down and a rebuild of everything on screen. It is also why the row holds its node rather than the other way round.
Fields and properties (7)
protected override string TagNameThe element name this type answers to when a caller does not choose one.
public TreeNode? NodeWhich node it is showing, or null if it is parked.
public Icon ChevronThe chevron, blank — but still occupying its column — for a node with no children.
public Icon GlyphThe row's own glyph, from Icon.
public UiElement IndentThe spacer that indents it by its depth.
public UiElement LabelThe text.
public TextBox? EditorThe field shown while the row is being renamed.
Methods (2)
protected override void OnCreated()Builds whatever this element is made of, once, as it joins a document.
protected override void OnDraw(DrawContext context)
Used by (8)
- TreeViewVixen.Ui.Controls.Advanced
- TreeViewTestsVixen.Ui.Controls.Advanced.Tests
- DropIntoSceneTestsVixen.Editor.App.Tests
- EditorAffordanceTestsVixen.Editor.App.Tests
- EditorApplicationVixen.Editor.App
- EditorSessionVixen.Editor.Testing
- OutlinerColumnTestsVixen.Editor.App.Tests
- SelectionTestsVixen.Editor.App.Tests