ProgressRingAutomationPeer
C# API / Fluence.Wpf.Automation
- Assembly:
Fluence.Wpf - Namespace:
Fluence.Wpf.Automation
public class ProgressRingAutomationPeer : FrameworkElementAutomationPeer, IRangeValueProvider
Exposes ProgressRing to UI Automation as a progress indicator.
Remarks: Initializes a new instance.
Parameter owner: The ProgressRing control represented by this automation peer.
Base type: FrameworkElementAutomationPeer (including inherited WPF and .NET members)
Constructors
ProgressRingAutomationPeer
public ProgressRingAutomationPeer(ProgressRing owner)
Exposes ProgressRing to UI Automation as a progress indicator.
Remarks: Initializes a new instance.
Parameter owner: The ProgressRing control represented by this automation peer.
Properties
IsReadOnly
public virtual bool IsReadOnly { get; }
Documentation inherited from the FrameworkElementAutomationPeer API.
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.
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 ring is disabled.
Exception System.InvalidOperationException: Always, for an enabled ring: progress is reported by the application, so the pattern is read-only and a client that sets a value is told so rather than left to assume it took.