ClassRadStepProgressBarItemAutomationPeer
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
RadStepProgressBarItemAutomationPeer(object, RadStepProgressBarAutomationPeer)
Initializes a new instance of the RadStepProgressBarItemAutomationPeer class.
Declaration
public RadStepProgressBarItemAutomationPeer(object owner, RadStepProgressBarAutomationPeer peer)
Parameters
owner
peer
Properties
SelectionContainer
Gets the UI Automation provider that implements System.Windows.Automation.Provider.ISelectionProvider and acts as the container for the calling object.
Declaration
public IRawElementProviderSimple SelectionContainer { get; }
Property Value
IRawElementProviderSimple
Methods
AddToSelection()
Adds the current element to the collection of selected items.
Declaration
public void AddToSelection()
GetAutomationControlTypeCore()
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
AutomationControlType
GetHelpTextCore()
Returns the string that describes the functionality of the FrameworkElement that is associated with this . This method is called by .
GetLocalizedControlTypeCore()
Declaration
protected override string GetLocalizedControlTypeCore()
Returns
GetPattern(PatternInterface)
Gets the System.Windows.Automation.Peers.AutomationPeer that is the parent of this System.Windows.Automation.Peers.AutomationPeer.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
patternInterface
PatternInterface
Returns
RemoveFromSelection()
Removes the current element from the collection of selected items.
Declaration
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
public void ScrollIntoView()
Select()
Deselects any selected items and then selects the current element.
Declaration
public void Select()