Interface 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.
Namespace: Telerik.WinControls.UIAutomation
Assembly: Telerik.WinControls.UI.dll
Syntax
public interface IRadRawElementProviderFragment : IRawElementProviderFragment, IRawElementProviderSimple
Properties
Owner
The object which is associated with the UI Automation provider.
Declaration
object Owner { get; }
Property Value
System.Object
|
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
System.Object
child
The object whose UI Automation provider we are querying. |
Returns
T
|
Type Parameters
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
System.Object
child
The object whose UI Automation provider we are querying. |
System.Func<System.Object, IRadRawElementProviderFragment>
initFunc
Init function used to create the UIA provider for the given child element, assuming no no such provider has already been created.. |
Returns
System.Windows.Automation.Provider.IRawElementProviderFragment
|
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
System.Object
child
The object whose UI Automation provider we are querying. |
System.Object
context
The context of the UI Automation provider we are querying. |
System.Func<System.Object, System.Object, IRadRawElementProviderFragment>
initFunc
Init function used to create the UIA provider for the given child element, assuming no no such provider has already been created.. |
Returns
System.Windows.Automation.Provider.IRawElementProviderFragment
|