Class RadComboBoxItemAutomationPeer
The AutomationPeer associated with the RadComboBoxItem class.
Inheritance
Namespace: Telerik.Windows.Automation.Peers
Assembly: Telerik.Windows.Controls.Input.dll
Syntax
public class RadComboBoxItemAutomationPeer : SelectorItemAutomationPeer, ISelectionItemProvider, IScrollItemProvider
Constructors
RadComboBoxItemAutomationPeer(Object, RadComboBoxAutomationPeer)
Initializes a new instance of the RadComboBoxItemAutomationPeer class.
Declaration
public RadComboBoxItemAutomationPeer(object item, RadComboBoxAutomationPeer radComboBoxAutomationPeer)
Parameters
System.Object
item
|
RadComboBoxAutomationPeer
radComboBoxAutomationPeer
|
Properties
IsSelected
Gets a value that indicates whether associated RadComboBoxItem is selected or not.
Declaration
public bool IsSelected { get; }
Property Value
System.Boolean
|
SelectionContainer
Gets the IRawElementProviderSimple for the RadComboBoxItemAutomationPeer.
Declaration
public IRawElementProviderSimple SelectionContainer { get; }
Property Value
System.Windows.Automation.Provider.IRawElementProviderSimple
|
Methods
AddToSelection()
Adds the current element to the collection of selected items.
Declaration
public void AddToSelection()
GetAutomationControlTypeCore()
Gets the control type for this RadComboBoxItemAutomationPeer.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
System.Windows.Automation.Peers.AutomationControlType
|
GetClassNameCore()
Declaration
protected override string GetClassNameCore()
Returns
System.String
|
GetHelpTextCore()
Declaration
protected override string GetHelpTextCore()
Returns
System.String
|
GetItemStatusCore()
Declaration
protected override string GetItemStatusCore()
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. |
GetNameCore()
Returns the core name for the RadComboboxItemAutomationPeer.
Declaration
protected override string GetNameCore()
Returns
System.String
|
GetPattern(PatternInterface)
Gets the control pattern for this RadComboBoxItemAutomationPeer.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
System.Windows.Automation.Peers.PatternInterface
patternInterface
|
Returns
System.Object
|
RemoveFromSelection()
Removes the current element to the collection of selected items.
Declaration
public void RemoveFromSelection()
ScrollIntoView()
Scrolls the content area of a container object in order to display the control within the visible region (viewport) of the container.
Declaration
public void ScrollIntoView()
Select()
Deselects any selected items and then selects the current element.
Declaration
public void Select()