共用方式為


IWindowOverlay.AddWindowElement(IWindowOverlayElement) Method

Definition

Adds a new drawable element to the overlay.

public:
 bool AddWindowElement(Microsoft::Maui::IWindowOverlayElement ^ element);
public bool AddWindowElement (Microsoft.Maui.IWindowOverlayElement element);
abstract member AddWindowElement : Microsoft.Maui.IWindowOverlayElement -> bool
Public Function AddWindowElement (element As IWindowOverlayElement) As Boolean

Parameters

Returns

Boolean indicating if the drawable was added to the collection.

Applies to