NumberBoxAutomationPeer
C# API / Fluence.Wpf.Automation
- Assembly:
Fluence.Wpf - Namespace:
Fluence.Wpf.Automation
public class NumberBoxAutomationPeer : FrameworkElementAutomationPeer, IRangeValueProvider
Exposes NumberBox to UI Automation as a spinner with range value.
Remarks: Initializes a new instance.
Parameter owner: The NumberBox control represented by this automation peer.
Base type: FrameworkElementAutomationPeer (including inherited WPF and .NET members)
Constructors
NumberBoxAutomationPeer
public NumberBoxAutomationPeer(NumberBox owner)
Exposes NumberBox to UI Automation as a spinner with range value.
Remarks: Initializes a new instance.
Parameter owner: The NumberBox control represented by this automation peer.
Properties
IsReadOnly
public virtual bool IsReadOnly { get; }
Always false. NumberBox has no read-only mode; disabled state is conveyed via IsEnabled, not IsReadOnly.
LargeChange
public virtual double LargeChange { get; }
Documentation inherited from the FrameworkElementAutomationPeer API.
Maximum
public virtual double Maximum { get; }
Documentation inherited from the FrameworkElementAutomationPeer API.
Minimum
public virtual double Minimum { get; }
Documentation inherited from the FrameworkElementAutomationPeer API.
SmallChange
public virtual double SmallChange { get; }
Documentation inherited from the FrameworkElementAutomationPeer API.
Value
public virtual double 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(double value)
Documentation inherited from the FrameworkElementAutomationPeer API.
Exception System.Windows.Automation.ElementNotEnabledException: The control is disabled.