public sealed class NodeCommentViewA sticky note, as an element.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
⚠ The label and the field both exist and one of them is hidden. A note is pooled and rebound as the graph is reprojected, so building a field when editing starts would leave one behind per note ever edited — removal is final in this framework, which is why every pooled thing here parks rather than goes.
Fields and properties (6)
protected override string TagNameThe element name this type answers to when a caller does not choose one.
protected override bool AcceptsFocusWhether the focus can rest on this kind of control at all.
public GraphComment? CommentThe note it is showing, or null if it is parked.
public UiElement BodyWhere the text goes when it is being read.
public TextArea EditorWhere it goes when it is being written.
public bool IsEditingWhether the caret is in it.
Methods (1)
protected override void OnCreated()Builds whatever this element is made of, once, as it joins a document.
Used by (2)
- NodeGraphViewVixen.Editor.NodeGraph
- ViewTestsVixen.Editor.NodeGraph.Tests