Share via


VisualDiagnosticsOverlay.AddAdorner Method

Definition

Overloads

AddAdorner(IAdorner, Boolean)

Adds a new adorner to the Visual Diagnostics Overlay.

AddAdorner(IVisualTreeElement, Boolean)

Adds a new adorner to the Visual Diagnostics Overlay. Uses the default Adorner for drawing.

AddAdorner(IAdorner, Boolean)

Source:
VisualDiagnosticsOverlay.cs
Source:
VisualDiagnosticsOverlay.cs

Adds a new adorner to the Visual Diagnostics Overlay.

public bool AddAdorner (Microsoft.Maui.IAdorner adorner, bool scrollToView = false);
abstract member AddAdorner : Microsoft.Maui.IAdorner * bool -> bool
override this.AddAdorner : Microsoft.Maui.IAdorner * bool -> bool
Public Function AddAdorner (adorner As IAdorner, Optional scrollToView As Boolean = false) As Boolean

Parameters

adorner
IAdorner

IAdorner.

scrollToView
Boolean

Returns

Implements

Applies to

AddAdorner(IVisualTreeElement, Boolean)

Source:
VisualDiagnosticsOverlay.cs
Source:
VisualDiagnosticsOverlay.cs

Adds a new adorner to the Visual Diagnostics Overlay. Uses the default Adorner for drawing.

public bool AddAdorner (Microsoft.Maui.IVisualTreeElement visualElement, bool scrollToView = false);
abstract member AddAdorner : Microsoft.Maui.IVisualTreeElement * bool -> bool
override this.AddAdorner : Microsoft.Maui.IVisualTreeElement * bool -> bool
Public Function AddAdorner (visualElement As IVisualTreeElement, Optional scrollToView As Boolean = false) As Boolean

Parameters

scrollToView
Boolean

Returns

Implements

Applies to