Interface ITextChildProvider


public interface ITextChildProvider
Provides access to a text-based control (or an object embedded in text) that is a child or descendant of another text-based control.
  • Method Details

    • get_TextContainer

      IUIAElement get_TextContainer()
      Retrieves this element's nearest ancestor provider that supports the Text control pattern.
      Returns:
      the nearest element with ITextProvider
    • get_TextRange

      ITextRangeProvider get_TextRange()
      Retrieves a text range that encloses this child element.
      Returns:
      the text range