C# Class System.Windows.Automation.Peers.AutoCompleteBoxAutomationPeer

Exposes AutoCompleteBox types to UI Automation.
Inheritance: System.Windows.Automation.Peers.FrameworkElementAutomationPeer, IValueProvider, IExpandCollapseProvider, ISelectionProvider
显示文件 Open project: Warewolf-ESB/Warewolf

Private Properties

Property Type Description
GetChildrenCore List
IExpandCollapseProvider void
ISelectionProvider System.Windows.Automation.Provider.IRawElementProviderSimple[]
IValueProvider void
RaiseExpandCollapseAutomationEvent void

Public Methods

Method Description
AutoCompleteBoxAutomationPeer ( AutoCompleteBox owner ) : System.Collections.Generic

Initializes a new instance of the AutoCompleteBoxAutomationPeer class.

GetPattern ( PatternInterface patternInterface ) : object

Gets the control pattern for the AutoCompleteBox that is associated with this AutoCompleteBoxAutomationPeer.

Protected Methods

Method Description
GetAutomationControlTypeCore ( ) : AutomationControlType

Gets the control type for the AutoCompleteBox that is associated with this AutoCompleteBoxAutomationPeer. This method is called by GetAutomationControlType.

GetClassNameCore ( ) : string

Gets the name of the AutoCompleteBox that is associated with this AutoCompleteBoxAutomationPeer. This method is called by GetClassName.

Private Methods

Method Description
GetChildrenCore ( ) : List
IExpandCollapseProvider ( ) : void

Blocking method that returns after the element has been expanded.

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

ISelectionProvider ( ) : System.Windows.Automation.Provider.IRawElementProviderSimple[]

Retrieves a UI automation provider for each child element that is selected.

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

IValueProvider ( string value ) : void

Sets the value of a control.

RaiseExpandCollapseAutomationEvent ( bool oldValue, bool newValue ) : void

Raises the ExpandCollapse automation event.

Method Details

AutoCompleteBoxAutomationPeer() public method

Initializes a new instance of the AutoCompleteBoxAutomationPeer class.
public AutoCompleteBoxAutomationPeer ( AutoCompleteBox owner ) : System.Collections.Generic
owner System.Windows.Controls.AutoCompleteBox /// The AutoCompleteBox that is associated with this /// AutoCompleteBoxAutomationPeer. ///
return System.Collections.Generic

GetAutomationControlTypeCore() protected method

Gets the control type for the AutoCompleteBox that is associated with this AutoCompleteBoxAutomationPeer. This method is called by GetAutomationControlType.
protected GetAutomationControlTypeCore ( ) : AutomationControlType
return AutomationControlType

GetClassNameCore() protected method

Gets the name of the AutoCompleteBox that is associated with this AutoCompleteBoxAutomationPeer. This method is called by GetClassName.
protected GetClassNameCore ( ) : string
return string

GetPattern() public method

Gets the control pattern for the AutoCompleteBox that is associated with this AutoCompleteBoxAutomationPeer.
public GetPattern ( PatternInterface patternInterface ) : object
patternInterface PatternInterface The desired PatternInterface.
return object