-api-id | -api-type |
---|---|
M:Microsoft.UI.Xaml.Automation.Provider.ITextRangeProvider.GetEnclosingElement |
winrt method |
Returns the innermost element that encloses the text range.
The enclosing control, typically the text provider that provides the text range. However, if the text provider supports child text elements such as tables or hyperlinks, the enclosing element can be a descendant of the text provider.