다음을 통해 공유


IVisualDiagnosticsOverlay.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:
IVisualDiagnosticsOverlay.cs
Source:
IVisualDiagnosticsOverlay.cs

Adds a new adorner to the Visual Diagnostics Overlay.

public:
 bool AddAdorner(Microsoft::Maui::IAdorner ^ adorner, bool scrollToElement);
public bool AddAdorner (Microsoft.Maui.IAdorner adorner, bool scrollToElement);
abstract member AddAdorner : Microsoft.Maui.IAdorner * bool -> bool
Public Function AddAdorner (adorner As IAdorner, scrollToElement As Boolean) As Boolean

Parameters

adorner
IAdorner

IAdorner.

scrollToElement
Boolean

When adding the adorner, scroll to the element. Only applies if the element is contained in an IScrollView.

Returns

Applies to

AddAdorner(IVisualTreeElement, Boolean)

Source:
IVisualDiagnosticsOverlay.cs
Source:
IVisualDiagnosticsOverlay.cs

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

public:
 bool AddAdorner(Microsoft::Maui::IVisualTreeElement ^ visualElement, bool scrollToElement);
public bool AddAdorner (Microsoft.Maui.IVisualTreeElement visualElement, bool scrollToElement);
abstract member AddAdorner : Microsoft.Maui.IVisualTreeElement * bool -> bool
Public Function AddAdorner (visualElement As IVisualTreeElement, scrollToElement As Boolean) As Boolean

Parameters

scrollToElement
Boolean

When adding the adorner, scroll to the element. Only applies if the element is contained in an IScrollView.

Returns

Applies to