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

Represents UI Automation provider associated with an object from the Telerik UI for WinForms family. The interface is currently implemented for RadControls and RadElements.

Definition

Properties

The object which is associated with the UI Automation provider.

C#
object Owner { get; }

Methods

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

C#
void Disconnect()

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

C#
T FindChildUIAutomationProvider<T>(object child) where T : IRawElementProviderFragment
Parameters:childobject

The object whose UI Automation provider we are querying.

Returns:

T

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#
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

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#
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

Get the previous sibling element of the passed child.

C#
IRawElementProviderFragment NavigateNextSibling(IRawElementProviderFragment child)
Parameters:childIRawElementProviderFragment

The element that is evaluated to get a previous sibling.

Returns:

IRawElementProviderFragment

Get the previous sibling element of the passed child.

C#
IRawElementProviderFragment NavigatePreviousSibling(IRawElementProviderFragment child)
Parameters:childIRawElementProviderFragment

The element that is evaluated to get a previous sibling.

Returns:

IRawElementProviderFragment