ClassRadFragmentUIAutomationProvider
Definition
Namespace:Telerik.WinControls.UIAutomation
Assembly:Telerik.WinControls.UI.dll
Syntax:
public abstract class RadFragmentUIAutomationProvider : IRadRawElementProviderFragment, IRawElementProviderFragment, IRawElementProviderSimple
Inheritance: objectRadFragmentUIAutomationProvider
Derived Classes:
Implements:
Constructors
RadFragmentUIAutomationProvider(IRadRawElementProviderFragment)
Declaration
public RadFragmentUIAutomationProvider(IRadRawElementProviderFragment parent)
Parameters
parent
Fields
childUIAProvidersPool
Declaration
protected readonly IDictionary<object, IRadRawElementProviderFragment> childUIAProvidersPool
Field Value
Properties
BoundingRectangle
Declaration
public abstract Rect BoundingRectangle { get; }
Property Value
Implements
FragmentRoot
Declaration
public virtual IRawElementProviderFragmentRoot FragmentRoot { get; }
Property Value
Implements
HostRawElementProvider
Declaration
public virtual IRawElementProviderSimple HostRawElementProvider { get; }
Property Value
Implements
Parent
Declaration
public virtual IRadRawElementProviderFragment Parent { get; }
Property Value
ProviderOptions
Declaration
public ProviderOptions ProviderOptions { get; }
Property Value
Implements
Methods
Disconnect()
Used to release the UI Automation provider. This method is called when the UI Automation provider is no longer needed.
Declaration
public virtual void Disconnect()
Implements
FindChildUIAutomationProvider<T>(object)
Searches the entire subtree of child UI Automation providers to find the UI Automation provider for the given object.
Declaration
public T FindChildUIAutomationProvider<T>(object element) where T : IRawElementProviderFragment
Parameters
element
Returns
T
Implements
GetChildElementProviderFragment(object, Func<object, IRadRawElementProviderFragment>)
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.
Declaration
public virtual IRawElementProviderFragment GetChildElementProviderFragment(object child, Func<object, IRadRawElementProviderFragment> initFunc = null)
Parameters
child
The object whose UI Automation provider we are querying.
initFunc
Func<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
GetChildElementProviderFragment(object, object, Func<object, object, IRadRawElementProviderFragment>)
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.
Declaration
public virtual IRawElementProviderFragment GetChildElementProviderFragment(object child, object context, Func<object, object, IRadRawElementProviderFragment> initFunc = null)
Parameters
child
The object whose UI Automation provider we are querying.
context
The context of the UI Automation provider we are querying.
initFunc
Func<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
GetEmbeddedFragmentRoots()
Declaration
public virtual IRawElementProviderSimple[] GetEmbeddedFragmentRoots()
Returns
Implements
Navigate(NavigateDirection)
Declaration
public virtual IRawElementProviderFragment Navigate(NavigateDirection direction)
Parameters
direction
Returns
Implements
NavigateNextSibling(IRawElementProviderFragment)
Navigates the next sibling of the specified child element. If there is no next sibling returns NULL.
Declaration
public virtual IRawElementProviderFragment NavigateNextSibling(IRawElementProviderFragment child)
Parameters
child
Returns
The next sibling element.
Implements
NavigatePreviousSibling(IRawElementProviderFragment)
Navigates the previous sibling of the specified child element. If there is no previous sibling returns NULL.
Declaration
public virtual IRawElementProviderFragment NavigatePreviousSibling(IRawElementProviderFragment child)
Parameters
child
Returns
The previous sibling element.
Implements
SetFocus()
Declaration
public abstract void SetFocus()
Implements