AutoSuggestBoxAutomationPeer
C# API / Fluence.Wpf.Automation
- Assembly:
Fluence.Wpf - Namespace:
Fluence.Wpf.Automation
public class AutoSuggestBoxAutomationPeer : FrameworkElementAutomationPeer, IValueProvider
Exposes AutoSuggestBox to UI Automation as an edit control with the Value pattern surfacing its Text.
Remarks: Initializes a new instance.
Parameter owner: The AutoSuggestBox control represented by this automation peer.
Base type: FrameworkElementAutomationPeer (including inherited WPF and .NET members)
Constructors
AutoSuggestBoxAutomationPeer
public AutoSuggestBoxAutomationPeer(AutoSuggestBox owner)
Exposes AutoSuggestBox to UI Automation as an edit control with the Value pattern surfacing its Text.
Remarks: Initializes a new instance.
Parameter owner: The AutoSuggestBox control represented by this automation peer.
Properties
IsReadOnly
public virtual bool IsReadOnly { get; }
Always false. AutoSuggestBox has no read-only mode; disabled state is conveyed via IsEnabled, not IsReadOnly.
Value
public virtual string Value { get; }
Documentation inherited from the FrameworkElementAutomationPeer API.
Methods
GetAutomationControlTypeCore
protected override AutomationControlType GetAutomationControlTypeCore()
Documentation inherited from the FrameworkElementAutomationPeer API.
GetClassNameCore
protected override string GetClassNameCore()
Documentation inherited from the FrameworkElementAutomationPeer API.
GetNameCore
protected override string GetNameCore()
Documentation inherited from the FrameworkElementAutomationPeer API.
GetPattern
public override object GetPattern(PatternInterface patternInterface)
Documentation inherited from the FrameworkElementAutomationPeer API.
SetValue
public virtual void SetValue(string value)
Documentation inherited from the FrameworkElementAutomationPeer API.
Exception System.Windows.Automation.ElementNotEnabledException: The control is disabled.