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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應