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

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:

C#
public class RadStepProgressBarItemAutomationPeer : ItemAutomationPeer, ISelectionItemProvider, IScrollItemProvider

Inheritance: objectRadStepProgressBarItemAutomationPeer

Implements: IScrollItemProviderISelectionItemProvider

Constructors

Initializes a new instance of the RadStepProgressBarItemAutomationPeer class.

C#
public RadStepProgressBarItemAutomationPeer(object owner, RadStepProgressBarAutomationPeer peer)
Parameters:ownerobjectpeerRadStepProgressBarAutomationPeer

Properties

C#
public bool IsSelected { get; }

SelectionContainer

IRawElementProviderSimple

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

C#
public IRawElementProviderSimple SelectionContainer { get; }

Methods

Adds the current element to the collection of selected items.

C#
public void AddToSelection()
C#
protected override AutomationControlType GetAutomationControlTypeCore()
Returns:

AutomationControlType

C#
protected override string GetClassNameCore()
Returns:

string

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

C#
protected override string GetHelpTextCore()
Returns:

string

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

C#
protected override sealed string GetItemStatusCore()
Returns:

string

C#
protected override string GetLocalizedControlTypeCore()
Returns:

string

C#
protected override string GetNameCore()
Returns:

string

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

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

object

Removes the current element from the collection of selected items.

C#
public void RemoveFromSelection()

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

C#
public void ScrollIntoView()

Deselects any selected items and then selects the current element.

C#
public void Select()