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:
public class RadStepProgressBarItemAutomationPeer : ItemAutomationPeer, ISelectionItemProvider, IScrollItemProvider
Inheritance: objectRadStepProgressBarItemAutomationPeer
Implements:
Constructors
Initializes a new instance of the RadStepProgressBarItemAutomationPeer class.
public RadStepProgressBarItemAutomationPeer(object owner, RadStepProgressBarAutomationPeer peer)
Properties
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.
public IRawElementProviderSimple SelectionContainer { get; }
Methods
Adds the current element to the collection of selected items.
public void AddToSelection()
protected override AutomationControlType GetAutomationControlTypeCore()
AutomationControlType
Gets the System.Windows.Automation.Peers.AutomationPeer that is the parent of this System.Windows.Automation.Peers.AutomationPeer.
public override object GetPattern(PatternInterface patternInterface)
Removes the current element from the collection of selected items.
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.
public void ScrollIntoView()
Deselects any selected items and then selects the current element.
public void Select()