Class AutoCompleteItemAutomationPeer
Provides UI Automation support for individual items within the AutoComplete control.
Inheritance
System.Object
AutoCompleteItemAutomationPeer
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class AutoCompleteItemAutomationPeer : ItemAutomationPeer
Constructors
AutoCompleteItemAutomationPeer(Object, ItemsControlAutomationPeer)
Initializes a new instance of the AutoCompleteItemAutomationPeer class.
Declaration
public AutoCompleteItemAutomationPeer(object item, ItemsControlAutomationPeer itemsControlAutomationPeer)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | item | The item associated with this automation peer. |
| System.Windows.Automation.Peers.ItemsControlAutomationPeer | itemsControlAutomationPeer | The automation peer for the parent System.Windows.Controls.ItemsControl. |
Methods
GetAutomationControlTypeCore()
Returns the System.Windows.Automation.Peers.AutomationControlType for the AutoCompleteItemAutomationPeer.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
| Type |
|---|
| System.Windows.Automation.Peers.AutomationControlType |
GetClassNameCore()
Returns the class name of the AutoCompleteItemAutomationPeer for UI Automation purposes.
Declaration
protected override string GetClassNameCore()
Returns
| Type |
|---|
| System.String |
GetPattern(PatternInterface)
Returns the control pattern for the specified System.Windows.Automation.Peers.PatternInterface.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Automation.Peers.PatternInterface | patternInterface | The pattern interface requested by the automation client. |
Returns
| Type |
|---|
| System.Object |