Class DrawTreeViewLineEventArgs<T>
Event args for the DrawLine event
public class DrawTreeViewLineEventArgs<T> where T : class
Type Parameters
T
- Inheritance
-
DrawTreeViewLineEventArgs<T>
- Inherited Members
Properties
- Handled
Set to true to cancel drawing (e.g. if you have already manually drawn content).
- IndexOfExpandCollapseSymbol
If line contains a branch that can be expanded/collapsed then this is the index in RuneCells at which the symbol is (or null for leaf elements).
- IndexOfModelText
The notional index in RuneCells which contains the first character of the AspectGetter text (i.e. after all branch lines and expansion/collapse sybmols).
- Model
The object at this line in the tree
- RuneCells
The rune and color of each symbol that will be rendered. Note that only Normal is respected. You can modify these to change what is rendered.
- Tree
The TreeView<T> that is performing the rendering.
- Y
The line within tree view bounds that is being rendered