RatingControlAutomationPeer
C# API / Fluence.Wpf.Automation
- Assembly:
Fluence.Wpf - Namespace:
Fluence.Wpf.Automation
public class RatingControlAutomationPeer : FrameworkElementAutomationPeer, IRangeValueProvider
Exposes RatingControl to UI Automation as a slider with range value. Implements IRangeValueProvider so assistive technologies such as Narrator can read and set the rating value.
Remarks: Initializes a new instance of the RatingControlAutomationPeer class.
Parameter owner: The RatingControl control represented by this automation peer.
Base type: FrameworkElementAutomationPeer (including inherited WPF and .NET members)
Constructors
RatingControlAutomationPeer
public RatingControlAutomationPeer(RatingControl owner)
Exposes RatingControl to UI Automation as a slider with range value. Implements IRangeValueProvider so assistive technologies such as Narrator can read and set the rating value.
Remarks: Initializes a new instance of the RatingControlAutomationPeer class.
Parameter owner: The RatingControl 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 control is disabled.
Exception System.InvalidOperationException: The control is read-only.