Class
RadStepProgressBarItemAutomationPeer

Represents an automation peer for a step item in a RadStepProgressBar control. This class provides the necessary support for UI Automation by implementing the ISelectionItemProvider and IScrollItemProvider interfaces, allowing for selection and scrolling of items within the RadStepProgressBar. It manages the interaction between the UI elements and the automation framework, including the selection state, item visibility, and help text for accessibility tools. The class also overrides methods to provide specific information about the RadStepProgressBarItem, enabling proper identification and manipulation within the automated environment.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public class RadStepProgressBarItemAutomationPeer : ItemAutomationPeer, ISelectionItemProvider, IScrollItemProvider

Inheritance: objectRadStepProgressBarItemAutomationPeer

Implements: IScrollItemProviderISelectionItemProvider

Constructors

RadStepProgressBarItemAutomationPeer(object, RadStepProgressBarAutomationPeer)

Initializes a new instance of the RadStepProgressBarItemAutomationPeer class.

Declaration

cs-api-definition
public RadStepProgressBarItemAutomationPeer(object owner, RadStepProgressBarAutomationPeer peer)

Parameters

owner

object

peer

RadStepProgressBarAutomationPeer

Properties

IsSelected

Declaration

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

Property Value

bool

SelectionContainer

Gets the UI Automation provider that implements System.Windows.Automation.Provider.ISelectionProvider and acts as the container for the calling object.

Declaration

cs-api-definition
public IRawElementProviderSimple SelectionContainer { get; }

Property Value

IRawElementProviderSimple

Methods

AddToSelection()

Adds the current element to the collection of selected items.

Declaration

cs-api-definition
public void AddToSelection()

GetAutomationControlTypeCore()

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

GetClassNameCore()

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

GetHelpTextCore()

Returns the string that describes the functionality of the FrameworkElement that is associated with this . This method is called by .

Declaration

cs-api-definition
protected override string GetHelpTextCore()

Returns

string

The help text, or Empty if there is no help text.

GetItemStatusCore()

Declaration

cs-api-definition
protected override sealed string GetItemStatusCore()

Returns

string

GetLocalizedControlTypeCore()

Declaration

cs-api-definition
protected override string GetLocalizedControlTypeCore()

Returns

string

GetNameCore()

Declaration

cs-api-definition
protected override string GetNameCore()

Returns

string

GetPattern(PatternInterface)

Gets the System.Windows.Automation.Peers.AutomationPeer that is the parent of this System.Windows.Automation.Peers.AutomationPeer.

Declaration

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

Parameters

patternInterface

PatternInterface

Returns

object

RemoveFromSelection()

Removes the current element from the collection of selected items.

Declaration

cs-api-definition
public void RemoveFromSelection()

ScrollIntoView()

Scrolls the content area of a container object in order to display the control within the visible region (viewport) of the container.

Declaration

cs-api-definition
public void ScrollIntoView()

Select()

Deselects any selected items and then selects the current element.

Declaration

cs-api-definition
public void Select()