Definition
Namespace:Telerik.WinControls.UIAutomation
Assembly:Telerik.WinControls.UI.dll
Syntax:
public abstract class RadFragmentUIAutomationProvider : IRadRawElementProviderFragment, IRawElementProviderFragment, IRawElementProviderSimple
Inheritance: objectRadFragmentUIAutomationProvider
Derived Classes:
Implements:
Constructors
public RadFragmentUIAutomationProvider(IRadRawElementProviderFragment parent)
Fields
childUIAProvidersPool
IDictionary<object, IRadRawElementProviderFragment>
protected readonly IDictionary<object, IRadRawElementProviderFragment> childUIAProvidersPool
Properties
public abstract Rect BoundingRectangle { get; }
Implements:
public virtual IRawElementProviderFragmentRoot FragmentRoot { get; }
Implements:
public virtual IRawElementProviderSimple HostRawElementProvider { get; }
Implements:
public virtual IRadRawElementProviderFragment Parent { get; }
public virtual ProviderOptions ProviderOptions { get; }
Implements:
Methods
Used to release the UI Automation provider. This method is called when the UI Automation provider is no longer needed.
public virtual void Disconnect()
Implements:
Searches the entire subtree of child UI Automation providers to find the UI Automation provider for the given object.
public T FindChildUIAutomationProvider<T>(object element) where T : IRawElementProviderFragment
T
Implements:
Gets the UIA provider of the given child object. This method is implemented by a parent UIA provider which returns a child UIA provider for the given child. The child UIA provider is created lazily provided it's not yet created and an initialization functions is passed.
public virtual IRawElementProviderFragment GetChildElementProviderFragment(object child, Func<object, IRadRawElementProviderFragment> initFunc = null)
The object whose UI Automation provider we are querying.
initFuncFunc<object, IRadRawElementProviderFragment>Init function used to create the UIA provider for the given child element, assuming no no such provider has already been created..
Returns:Implements:
Gets the UIA provider of the given child object. This method is implemented by a parent UIA provider which returns a child UIA provider for the given child. The child UIA provider is created lazily provided it's not yet created and an initialization functions is passed.
public virtual IRawElementProviderFragment GetChildElementProviderFragment(object child, object context, Func<object, object, IRadRawElementProviderFragment> initFunc = null)
The object whose UI Automation provider we are querying.
contextobjectThe context of the UI Automation provider we are querying.
initFuncFunc<object, object, IRadRawElementProviderFragment>Init function used to create the UIA provider for the given child element, assuming no no such provider has already been created..
Returns:Implements:
public virtual IRawElementProviderSimple[] GetEmbeddedFragmentRoots()
Implements:
public virtual IRawElementProviderFragment Navigate(NavigateDirection direction)
Implements:
Navigates the next sibling of the specified child element. If there is no next sibling returns NULL.
public virtual IRawElementProviderFragment NavigateNextSibling(IRawElementProviderFragment child)
The next sibling element.
Implements:
Navigates the previous sibling of the specified child element. If there is no previous sibling returns NULL.
public virtual IRawElementProviderFragment NavigatePreviousSibling(IRawElementProviderFragment child)
The previous sibling element.
Implements:
public abstract void SetFocus()
Implements: