Exposes a text-box item as an editable UI Automation element with Text and Value patterns; the constructor without a parent fragment also reports text changes.
Definition
Namespace:Telerik.WinControls.UIAutomation.Edit
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class TextBoxItemUIAutomationProvider : RadElementBaseUIAutomationProvider<RadTextBoxItem>, IRadRawElementProviderFragment, IRawElementProviderFragment, IRawElementProviderSimple
Inheritance: objectRadFragmentUIAutomationProviderRadElementBaseUIAutomationProvider<RadTextBoxItem>TextBoxItemUIAutomationProvider
Implements:
Inherited Members
Constructors
Creates a provider for a text-box item within a parent fragment.
public TextBoxItemUIAutomationProvider(IRadRawElementProviderFragment parent, RadTextBoxItem owner)
The fragment that exposes this text-box item.
ownerRadTextBoxItemThe text-box item represented by this provider.
Creates a provider without a parent fragment and subscribes to the text-box item's text changes.
public TextBoxItemUIAutomationProvider(RadTextBoxItem owner)
The text-box item represented by this provider.
Methods
Unsubscribes from text changes before disconnecting cached child providers.
public override void Disconnect()
Overrides:
Gets a cached Text or Value pattern provider, creating it on first request; other patterns use the base provider.
Gets UI Automation properties, including an AutomationId from the accessible name, a Name from the text, password state, and pattern availability.
Raises the TextSelectionChanged event when UI Automation clients are listening.
public void RaiseSelectionChangedEvent()
Focuses the text-box item on its owning control's UI thread when it is attached to a control.
public override void SetFocus()
Overrides: