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
Gets or sets the Brush to use to render the tree lines.
public Brush TreeLineBrush { get; set; }
Property Value
Methods
OnRender(DrawingContext)
When overridden in a derived class, participates in rendering operations that are directed by the layout system.
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
Identifies the TreeLineBrush dependency property. This field is read-only.
public static readonly DependencyProperty TreeLineBrushProperty