Provides the UI Automation peer for the RadStepProgressBar control, enabling accessibility support for automation clients. This class extends the ItemsControlAutomationPeer and implements the ISelectionProvider and IScrollProvider interfaces to support selection and scrolling functionalities in the context of a step progress bar. It facilitates communication between the control and UI Automation clients by providing necessary properties and methods needed to handle selection and scrolling within the progress bar interface.
Definition
Namespace:Telerik.Windows.Automation.Peers
Assembly:Telerik.Windows.Controls.dll
Syntax:
public class RadStepProgressBarAutomationPeer : ItemsControlAutomationPeer, ISelectionProvider, IScrollProvider
Inheritance: objectRadStepProgressBarAutomationPeer
Implements:
Constructors
Initializes a new instance of the RadStepProgressBarAutomationPeer class.
public RadStepProgressBarAutomationPeer(RadStepProgressBar owner)
The owner.
Properties
public bool CanSelectMultiple { get; }
Gets a value that indicates whether the control can scroll horizontally.
public bool HorizontallyScrollable { get; }
Gets the current horizontal scroll position.
public double HorizontalScrollPercent { get; }
Gets the current horizontal view size.
public double HorizontalViewSize { get; }
public bool IsSelectionRequired { get; }
Gets a value that indicates whether the control can scroll vertically.
public bool VerticallyScrollable { get; }
Gets the current vertical scroll position.
public double VerticalScrollPercent { get; }
Gets the vertical view size.
public double VerticalViewSize { get; }
Methods
protected override ItemAutomationPeer CreateItemAutomationPeer(object item)
ItemAutomationPeer
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetAutomationControlType().
protected override AutomationControlType GetAutomationControlTypeCore()
AutomationControlType
When overridden in a derived class, is called by .
Gets a value that indicates whether the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.UIElementAutomationPeer is laid out in a specific direction. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetOrientation().
protected override AutomationOrientation GetOrientationCore()
AutomationOrientation
Gets the pattern.
public override object GetPattern(PatternInterface patternInterface)
Retrieves a UI Automation provider for each child element that is selected.
public IRawElementProviderSimple[] GetSelection()
IRawElementProviderSimple[]
A collection of UI Automation providers.
Scrolls the visible region of the content area horizontally and vertically.
public void Scroll(ScrollAmount horizontalAmount, ScrollAmount verticalAmount)