Share via


WindowOverlay.AddWindowElement(IWindowOverlayElement) Method

Definition

Adds a new drawable element to the overlay.

public:
 virtual bool AddWindowElement(Microsoft::Maui::IWindowOverlayElement ^ drawable);
public virtual bool AddWindowElement (Microsoft.Maui.IWindowOverlayElement drawable);
abstract member AddWindowElement : Microsoft.Maui.IWindowOverlayElement -> bool
override this.AddWindowElement : Microsoft.Maui.IWindowOverlayElement -> bool
Public Overridable Function AddWindowElement (drawable As IWindowOverlayElement) As Boolean

Parameters

Returns

Boolean indicating if the drawable was added to the collection.

Implements

Applies to