Class
RadStepProgressBarAutomationPeer

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:

cs-api-definition
public class RadStepProgressBarAutomationPeer : ItemsControlAutomationPeer, ISelectionProvider, IScrollProvider

Inheritance: objectRadStepProgressBarAutomationPeer

Implements: IScrollProviderISelectionProvider

Constructors

RadStepProgressBarAutomationPeer(RadStepProgressBar)

Initializes a new instance of the RadStepProgressBarAutomationPeer class.

Declaration

cs-api-definition
public RadStepProgressBarAutomationPeer(RadStepProgressBar owner)

Parameters

owner

RadStepProgressBar

The owner.

Properties

CanSelectMultiple

Declaration

cs-api-definition
public bool CanSelectMultiple { get; }

Property Value

bool

HorizontalScrollPercent

Gets the current horizontal scroll position.

Declaration

cs-api-definition
public double HorizontalScrollPercent { get; }

Property Value

double

HorizontalViewSize

Gets the current horizontal view size.

Declaration

cs-api-definition
public double HorizontalViewSize { get; }

Property Value

double

HorizontallyScrollable

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

Declaration

cs-api-definition
public bool HorizontallyScrollable { get; }

Property Value

bool

IsSelectionRequired

Declaration

cs-api-definition
public bool IsSelectionRequired { get; }

Property Value

bool

VerticalScrollPercent

Gets the current vertical scroll position.

Declaration

cs-api-definition
public double VerticalScrollPercent { get; }

Property Value

double

VerticalViewSize

Gets the vertical view size.

Declaration

cs-api-definition
public double VerticalViewSize { get; }

Property Value

double

VerticallyScrollable

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

Declaration

cs-api-definition
public bool VerticallyScrollable { get; }

Property Value

bool

Methods

CreateItemAutomationPeer(object)

Declaration

cs-api-definition
protected override ItemAutomationPeer CreateItemAutomationPeer(object item)

Parameters

item

object

Returns

ItemAutomationPeer

GetAutomationControlTypeCore()

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

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

GetClassNameCore()

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

GetHelpTextCore()

Declaration

cs-api-definition
protected override string GetHelpTextCore()

Returns

string

GetItemStatusCore()

Declaration

cs-api-definition
protected override string GetItemStatusCore()

Returns

string

GetLocalizedControlTypeCore()

When overridden in a derived class, is called by .

Declaration

cs-api-definition
protected override string GetLocalizedControlTypeCore()

Returns

string

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

cs-api-definition
protected override AutomationOrientation GetOrientationCore()

Returns

AutomationOrientation

GetPattern(PatternInterface)

Gets the pattern.

Declaration

cs-api-definition
public override object GetPattern(PatternInterface patternInterface)

Parameters

patternInterface

PatternInterface

Returns

object

GetSelection()

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

Declaration

cs-api-definition
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

cs-api-definition
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.

Declaration

cs-api-definition
public void SetScrollPercent(double horizontalPercent, double verticalPercent)

Parameters

horizontalPercent

double

verticalPercent

double