TreeLineDecorator Class
Renders tree lines within a TreeListBoxItem.
public class TreeLineDecorator : Decorator
- Inheritance:
- object Visual UIElement FrameworkElement Decorator object
Constructors
TreeLineDecorator()
Initializes an instance of the class.
public TreeLineDecorator()
Properties
TreeLineBrush
The Brush to use to render the tree lines.
Methods
OnRender(DrawingContext)
When overridden in a derived class, participates in rendering operations that are directed by the layout system. The rendering instructions for this element are not used directly when this method is invoked, and are instead preserved for later asynchronous use by layout and drawing.
protected override void OnRender(DrawingContext drawingContext)
| Parameter | Type | Description |
|---|---|---|
| drawingContext | DrawingContext | The drawing instructions for a specific element. This context is provided to the layout system. |
Fields
TreeLineBrushProperty
Defines the TreeLineBrush property.
public static readonly DependencyProperty TreeLineBrushProperty