IVisualDiagnosticsOverlay.AddAdorner Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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
- visualElement
- IVisualTreeElement
- scrollToElement
- Boolean
When adding the adorner, scroll to the element. Only applies if the element is contained in an IScrollView.
Returns
Applies to
.NET MAUI