New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Namespace:Telerik.WinControls.UIAutomation

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public abstract class RadFragmentUIAutomationProvider : IRadRawElementProviderFragment, IRawElementProviderFragment, IRawElementProviderSimple

Inheritance: objectRadFragmentUIAutomationProvider

Derived Classes: BaseRowInfoUIAutomationProvider<T>RadControlBaseRootUIAutomationProvider<T>RadElementBaseUIAutomationProvider<T>

Implements: IRadRawElementProviderFragmentIRawElementProviderFragmentIRawElementProviderSimple

Constructors

C#
public RadFragmentUIAutomationProvider(IRadRawElementProviderFragment parent)
Parameters:parentIRadRawElementProviderFragment

Fields

C#
protected readonly IDictionary<object, IRadRawElementProviderFragment> childUIAProvidersPool

Properties

C#
public abstract Rect BoundingRectangle { get; }

Implements: IRawElementProviderFragment.BoundingRectangle

C#
public virtual IRawElementProviderFragmentRoot FragmentRoot { get; }

Implements: IRawElementProviderFragment.FragmentRoot

C#
public virtual IRawElementProviderSimple HostRawElementProvider { get; }

Implements: IRawElementProviderSimple.HostRawElementProvider

C#
public virtual IRadRawElementProviderFragment Parent { get; }
C#
public virtual ProviderOptions ProviderOptions { get; }

Implements: IRawElementProviderSimple.ProviderOptions

Methods

Used to release the UI Automation provider. This method is called when the UI Automation provider is no longer needed.

C#
public virtual void Disconnect()

Implements: IRadRawElementProviderFragment.Disconnect()

Searches the entire subtree of child UI Automation providers to find the UI Automation provider for the given object.

C#
public T FindChildUIAutomationProvider<T>(object element) where T : IRawElementProviderFragment
Parameters:elementobjectReturns:

T

Implements: IRadRawElementProviderFragment.FindChildUIAutomationProvider<T>(object)

C#
public abstract object GetAutomationId()
Returns:

object

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.

C#
public virtual IRawElementProviderFragment GetChildElementProviderFragment(object child, Func<object, IRadRawElementProviderFragment> initFunc = null)
Parameters:childobject

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:

IRawElementProviderFragment

Implements: IRadRawElementProviderFragment.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.

C#
public virtual IRawElementProviderFragment GetChildElementProviderFragment(object child, object context, Func<object, object, IRadRawElementProviderFragment> initFunc = null)
Parameters:childobject

The object whose UI Automation provider we are querying.

contextobject

The 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:

IRawElementProviderFragment

Implements: IRadRawElementProviderFragment.GetChildElementProviderFragment(object, object, Func<object, object, IRadRawElementProviderFragment>)

C#
public virtual IRawElementProviderSimple[] GetEmbeddedFragmentRoots()
Returns:

IRawElementProviderSimple[]

Implements: IRawElementProviderFragment.GetEmbeddedFragmentRoots()

C#
protected abstract object GetOwner()
Returns:

object

C#
public abstract object GetPatternProvider(int patternId)
Parameters:patternIdintReturns:

object

Implements: IRawElementProviderSimple.GetPatternProvider(int)

C#
public virtual object GetPropertyValue(int propertyId)
Parameters:propertyIdintReturns:

object

Implements: IRawElementProviderSimple.GetPropertyValue(int)

Converts a Rect structure to an array of doubles.

C#
public static double[] GetRectArray(Rect rect)
Parameters:rectRectReturns:

double[]

C#
public abstract int[] GetRuntimeId()
Returns:

int[]

Implements: IRawElementProviderFragment.GetRuntimeId()

C#
public virtual IRawElementProviderFragment Navigate(NavigateDirection direction)
Parameters:directionNavigateDirectionReturns:

IRawElementProviderFragment

Implements: IRawElementProviderFragment.Navigate(NavigateDirection)

Navigates the next sibling of the specified child element. If there is no next sibling returns NULL.

C#
public virtual IRawElementProviderFragment NavigateNextSibling(IRawElementProviderFragment child)
Parameters:childIRawElementProviderFragmentReturns:

IRawElementProviderFragment

The next sibling element.

Implements: IRadRawElementProviderFragment.NavigateNextSibling(IRawElementProviderFragment)

Navigates the previous sibling of the specified child element. If there is no previous sibling returns NULL.

C#
public virtual IRawElementProviderFragment NavigatePreviousSibling(IRawElementProviderFragment child)
Parameters:childIRawElementProviderFragmentReturns:

IRawElementProviderFragment

The previous sibling element.

Implements: IRadRawElementProviderFragment.NavigatePreviousSibling(IRawElementProviderFragment)

C#
public abstract void SetFocus()

Implements: IRawElementProviderFragment.SetFocus()