Share via


XamlUIPresenter.RootElement Property

Definition

Gets or sets the root visual element to draw to the surface.

public:
 property UIElement ^ RootElement { UIElement ^ get(); void set(UIElement ^ value); };
UIElement RootElement();

void RootElement(UIElement value);
public UIElement RootElement { get; set; }
var uIElement = xamlUIPresenter.rootElement;
xamlUIPresenter.rootElement = uIElement;
Public Property RootElement As UIElement

Property Value

The element to draw.

Applies to