InterfaceIRadRawElementProviderFragment
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
Namespace:Telerik.WinControls.UIAutomation
Assembly:Telerik.WinControls.UI.dll
Syntax:
public interface IRadRawElementProviderFragment : IRawElementProviderFragment, IRawElementProviderSimple
Inherited Members
Properties
Methods
Disconnect()
Used to release the UI Automation provider. This method is called when the UI Automation provider is no longer needed.
Declaration
void Disconnect()
FindChildUIAutomationProvider<T>(object)
Searches the entire subtree of child UI Automation providers to find the UI Automation provider for the given object.
Declaration
T FindChildUIAutomationProvider<T>(object child) where T : IRawElementProviderFragment
Parameters
child
The object whose UI Automation provider we are querying.
Returns
T
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
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
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
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
NavigateNextSibling(IRawElementProviderFragment)
Get the previous sibling element of the passed child.
Declaration
IRawElementProviderFragment NavigateNextSibling(IRawElementProviderFragment child)
Parameters
child
The element that is evaluated to get a previous sibling.
Returns
NavigatePreviousSibling(IRawElementProviderFragment)
Get the previous sibling element of the passed child.
Declaration
IRawElementProviderFragment NavigatePreviousSibling(IRawElementProviderFragment child)
Parameters
child
The element that is evaluated to get a previous sibling.
Returns