IVisualParent Interface
Provides the base requirements for an element that can add and remove visual child elements.
public interface IVisualParent
Methods
AddVisualChild(Visual)
Adds the provided System.Windows.Media.Visual to the visual tree of this element.
void AddVisualChild(Visual child)
Parameter | Type | Description |
---|---|---|
child | System.Windows.Media.Visual | Child visual to add. |
RemoveVisualChild(Visual)
Removes the provided System.Windows.Media.Visual from the visual of tree of this element.
void RemoveVisualChild(Visual child)
Parameter | Type | Description |
---|---|---|
child | System.Windows.Media.Visual | Child visual to remove. |