ITextRangeProvider.GetEnclosingElement Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Returns the innermost element that encloses the text range.
Assembly: System.Windows (in System.Windows.dll)
Return Value
Type: System.Windows.Automation.Provider.IRawElementProviderSimpleThe 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.
Show: