IRadRawElementProviderFragment
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
Used to release the UI Automation provider. This method is called when the UI Automation provider is no longer needed.
void Disconnect()
Checks the provider cached for the given object and traverses cached descendants. The current implementation does not propagate recursive matches, so only a direct cached match is returned.
T FindChildUIAutomationProvider<T>(object child) where T : IRawElementProviderFragment
The object whose UI Automation provider we are querying.
Returns:T
The direct cached provider when it matches T; otherwise, the default value.
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.
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: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.
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:Get the previous sibling element of the passed child.
IRawElementProviderFragment NavigateNextSibling(IRawElementProviderFragment child)
The element that is evaluated to get a previous sibling.
Returns:Get the previous sibling element of the passed child.
IRawElementProviderFragment NavigatePreviousSibling(IRawElementProviderFragment child)
The element that is evaluated to get a previous sibling.
Returns: