Provides common UI Automation properties and lifecycle handling for a RadElement.
Definition
Namespace:Telerik.WinControls.UIAutomation
Assembly:Telerik.WinControls.UI.dll
Type Parameters:
T
The concrete element type represented by this provider.
Syntax:
public abstract class RadElementBaseUIAutomationProvider<T> : RadFragmentUIAutomationProvider, IRadRawElementProviderFragment, IRawElementProviderFragment, IRawElementProviderSimple where T : RadElement
Inheritance: objectRadFragmentUIAutomationProviderRadElementBaseUIAutomationProvider<T>
Derived Classes:
Implements:
Inherited Members
Constructors
Creates a provider for an element within its parent fragment and subscribes to element changes.
public RadElementBaseUIAutomationProvider(IRadRawElementProviderFragment parent, T owner)
The parent fragment that exposes this element.
ownerTThe element represented by this provider.
Properties
Gets the element's bounds in screen coordinates using its owning control.
public override Rect BoundingRectangle { get; }
Overrides:
Gets the element represented by this provider.
public T Owner { get; }
Methods
Unsubscribes from element changes and disconnects cached child providers.
public override void Disconnect()
Overrides:
Gets the AccessibleName for a RadItem, or the element's Name for other element types.
Gets the element represented by this provider.
Gets common properties for the element, including enabled state, name, and help text.
Gets a runtime identifier derived from the provider's owner element.
public override int[] GetRuntimeId()
int[]
The append-runtime-id marker and the owner's hash code.
Overrides: