In This Article

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 Visual to the visual tree of this element.

void AddVisualChild(Visual child)
Parameter Type Description
child Visual

Child visual to add.

RemoveVisualChild(Visual)

Removes the provided Visual from the visual of tree of this element.

void RemoveVisualChild(Visual child)
Parameter Type Description
child Visual

Child visual to remove.