New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public class RadStepProgressBarAutomationPeer : ItemsControlAutomationPeer, ISelectionProvider, IScrollProvider

Inheritance: objectRadStepProgressBarAutomationPeer

Implements: IScrollProviderISelectionProvider

Constructors

Initializes a new instance of the RadStepProgressBarAutomationPeer class.

C#
public RadStepProgressBarAutomationPeer(RadStepProgressBar owner)
Parameters:ownerRadStepProgressBar

The owner.

Properties

C#
public bool CanSelectMultiple { get; }

Gets a value that indicates whether the control can scroll horizontally.

C#
public bool HorizontallyScrollable { get; }

Gets the current horizontal scroll position.

C#
public double HorizontalScrollPercent { get; }

Gets the current horizontal view size.

C#
public double HorizontalViewSize { get; }
C#
public bool IsSelectionRequired { get; }

Gets a value that indicates whether the control can scroll vertically.

C#
public bool VerticallyScrollable { get; }

Gets the current vertical scroll position.

C#
public double VerticalScrollPercent { get; }

Gets the vertical view size.

C#
public double VerticalViewSize { get; }

Methods

C#
protected override ItemAutomationPeer CreateItemAutomationPeer(object item)
Parameters:itemobjectReturns:

ItemAutomationPeer

When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetAutomationControlType().

C#
protected override AutomationControlType GetAutomationControlTypeCore()
Returns:

AutomationControlType

C#
protected override string GetClassNameCore()
Returns:

string

C#
protected override string GetHelpTextCore()
Returns:

string

C#
protected override string GetItemStatusCore()
Returns:

string

When overridden in a derived class, is called by .

C#
protected override string GetLocalizedControlTypeCore()
Returns:

string

The type of the control.

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().

C#
protected override AutomationOrientation GetOrientationCore()
Returns:

AutomationOrientation

Gets the pattern.

C#
public override object GetPattern(PatternInterface patternInterface)
Parameters:patternInterfacePatternInterfaceReturns:

object

Retrieves a UI Automation provider for each child element that is selected.

C#
public IRawElementProviderSimple[] GetSelection()
Returns:

IRawElementProviderSimple[]

A collection of UI Automation providers.

Scrolls the visible region of the content area horizontally and vertically.

C#
public void Scroll(ScrollAmount horizontalAmount, ScrollAmount verticalAmount)
Parameters:horizontalAmountScrollAmountverticalAmountScrollAmount

Sets the horizontal and vertical scroll position as a percentage of the total content area within the control.

C#
public void SetScrollPercent(double horizontalPercent, double verticalPercent)
Parameters:horizontalPercentdoubleverticalPercentdouble