Experimental: this API is experimental and might be changed or removed in the future.

VisualElement.PlaceInFront

Switch to Manual
public void PlaceInFront (Experimental.UIElements.VisualElement sibling);

Parameters

siblingThe sibling element.

Description

Places this element right after the sibling element in their parent children list. If the element and the sibling position overlap, the element will be visually in front of its sibling.

The elements must be siblings.