Provides a base class that exposes an element to UI Automation.
Definition
Namespace:Telerik.Windows.Automation.Peers
Assembly:Telerik.Windows.Controls.ScheduleView.dll
Type Parameters:
T
The type of element in the class.
Syntax:
public class AutomationPeerBase<T> : FrameworkElementAutomationPeer where T : FrameworkElement
Inheritance: objectAutomationPeerBase<T>
Derived Classes:
Constructors
Initializes a new instance of the AutomationPeerBase class.
public AutomationPeerBase(T owner)
Properties
Gets the owner UI control for the current automation element.
protected T CurrentOwner { get; }
Methods
Retrieves a collection of UI Automation provider from given peer collection.
protected IRawElementProviderSimple[] GenerateIRawElementProviderSimple<TSource>(IEnumerable<TSource> source) where TSource : UIElement
IRawElementProviderSimple[]
Provider collection.
Gets a name that is used with System.Windows.Automation.Peers.AutomationControlType, to differentiate the control that is represented by this System.Windows.Automation.Peers.AutomationPeer.
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetItemType().
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.IsEnabled().
protected override bool IsEnabledCore()
true if the automation peer can receive and send events; otherwise, false.
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.IsKeyboardFocusable().
protected override bool IsKeyboardFocusableCore()
true if the element can accept keyboard focus; otherwise, false.
Retrieves a UI Automation provider for current element.
protected IRawElementProviderSimple ProviderFromElement<TSource>(TSource element) where TSource : UIElement
The peer element.
Returns:IRawElementProviderSimple
Provider from type IRawElementProviderSimple.
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.SetFocus().
protected override void SetFocusCore()