ClassRadStepProgressBarAutomationPeer
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
RadStepProgressBarAutomationPeer(RadStepProgressBar)
Initializes a new instance of the RadStepProgressBarAutomationPeer class.
Declaration
public RadStepProgressBarAutomationPeer(RadStepProgressBar owner)
Parameters
owner
The owner.
Properties
HorizontalScrollPercent
Gets the current horizontal scroll position.
HorizontalViewSize
Gets the current horizontal view size.
HorizontallyScrollable
Gets a value that indicates whether the control can scroll horizontally.
VerticalScrollPercent
Gets the current vertical scroll position.
VerticalViewSize
Gets the vertical view size.
VerticallyScrollable
Gets a value that indicates whether the control can scroll vertically.
Methods
CreateItemAutomationPeer(object)
Declaration
protected override ItemAutomationPeer CreateItemAutomationPeer(object item)
Parameters
item
Returns
ItemAutomationPeer
GetAutomationControlTypeCore()
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetAutomationControlType().
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
AutomationControlType
GetLocalizedControlTypeCore()
When overridden in a derived class, is called by .
Declaration
protected override string GetLocalizedControlTypeCore()
Returns
The type of the control.
GetOrientationCore()
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().
Declaration
protected override AutomationOrientation GetOrientationCore()
Returns
AutomationOrientation
GetPattern(PatternInterface)
Gets the pattern.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
patternInterface
PatternInterface
Returns
GetSelection()
Retrieves a UI Automation provider for each child element that is selected.
Declaration
public IRawElementProviderSimple[] GetSelection()
Returns
IRawElementProviderSimple[]
A collection of UI Automation providers.
Scroll(ScrollAmount, ScrollAmount)
Scrolls the visible region of the content area horizontally and vertically.
Declaration
public void Scroll(ScrollAmount horizontalAmount, ScrollAmount verticalAmount)
Parameters
horizontalAmount
ScrollAmount
verticalAmount
ScrollAmount
SetScrollPercent(double, double)
Sets the horizontal and vertical scroll position as a percentage of the total content area within the control.