Interface ITextEditProvider

All Superinterfaces:
ITextProvider

public interface ITextEditProvider extends ITextProvider
Extends the ITextProvider interface to enable Microsoft UI Automation providers to expose programmatic text-edit actions.

Call the UiaRaiseTextEditTextChangedEvent function to raise the UI Automation events that notify clients of changes. Use values of TextEditChangeType to describe the change. Follow the guidance given in TextEdit Control Pattern that describes when to raise the events and what payload the events should pass to UI Automation.

  • Method Details

    • GetActiveComposition

      ITextRangeProvider GetActiveComposition()
      Returns the active composition.

      Follow the guidance given in TextEdit Control Pattern that describes how to implement this method and how to raise the related notification events.

      Returns:
      Pointer to the range of the current conversion (none if there is no conversion).
    • GetConversionTarget

      ITextRangeProvider GetConversionTarget()
      Returns the current conversion target range.

      Follow the guidance given in TextEdit Control Pattern that describes how to implement this method and how to raise the related notification events.

      Returns:
      Pointer to the conversion target range (none if there is no conversion).