VisualDiagnosticsOverlay.AddWindowElement(IWindowOverlayElement) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将新的可绘制元素添加到覆盖区。
public:
override bool AddWindowElement(Microsoft::Maui::IWindowOverlayElement ^ drawable);
public override bool AddWindowElement (Microsoft.Maui.IWindowOverlayElement drawable);
override this.AddWindowElement : Microsoft.Maui.IWindowOverlayElement -> bool
Public Overrides Function AddWindowElement (drawable As IWindowOverlayElement) As Boolean
参数
- drawable
- IWindowOverlayElement
返回
指示是否将可绘制对象添加到集合中的布尔值。