Class RadAutoCompleteBoxAutomationPeer
Provides a class that exposes the RadAutoCompleteBox to UI Automation.
Inheritance
Namespace: Telerik.Windows.Automation.Peers
Assembly: Telerik.Windows.Controls.Input.dll
Syntax
public class RadAutoCompleteBoxAutomationPeer : FrameworkElementAutomationPeer, ISelectionProvider, IValueProvider
Constructors
RadAutoCompleteBoxAutomationPeer(FrameworkElement)
Initializes a new instance of the RadAutoCompleteBoxAutomationPeer class.
Declaration
public RadAutoCompleteBoxAutomationPeer(FrameworkElement owner)
Parameters
System.Windows.FrameworkElement
owner
The owner. |
Properties
CanSelectMultiple
Gets a value that specifies whether the UI Automation provider allows more than one child element to be selected concurrently.
Declaration
public bool CanSelectMultiple { get; }
Property Value
System.Boolean
true if multiple selection is allowed; otherwise false. |
IsReadOnly
Gets a value that indicates whether the value of a control is read-only.
Declaration
public bool IsReadOnly { get; }
Property Value
System.Boolean
|
IsSelectionRequired
Gets a value that specifies whether the UI Automation provider requires at least one child element to be selected.
Declaration
public bool IsSelectionRequired { get; }
Property Value
System.Boolean
true if selection is required; otherwise false. |
Value
Gets the value of the control.
Declaration
public string Value { get; }
Property Value
System.String
|
Methods
GetChildrenCore()
Gets the collection of child elements of the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.UIElementAutomationPeer. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetChildren.
Declaration
protected override List<AutomationPeer> GetChildrenCore()
Returns
System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer>
A list of child System.Windows.Automation.Peers.AutomationPeer elements. |
GetClassNameCore()
Declaration
protected override string GetClassNameCore()
Returns
System.String
|
GetHelpTextCore()
Declaration
protected override string GetHelpTextCore()
Returns
System.String
|
GetLocalizedControlTypeCore()
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetLocalizedControlType.
Declaration
protected override string GetLocalizedControlTypeCore()
Returns
System.String
The type of the control. |
GetPattern(PatternInterface)
Gets the control pattern for the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.UIElementAutomationPeer.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
System.Windows.Automation.Peers.PatternInterface
patternInterface
A value from the enumeration. |
Returns
System.Object
An object that implements the System.Windows.Automation.Provider.ISynchronizedInputProvider
interface if |
GetSelection()
Retrieves a UI Automation provider for each child element that is selected.
Declaration
public IRawElementProviderSimple[] GetSelection()
Returns
System.Windows.Automation.Provider.IRawElementProviderSimple[]
A collection of UI Automation providers. |
SetValue(String)
Sets the value.
Declaration
public void SetValue(string value)
Parameters
System.String
value
The value. |