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

Represents the automation peer for the RadBusyIndicator control, providing support for UI automation and control patterns. This class enables interaction with the RadBusyIndicator from automated UI test frameworks and exposes the properties and behaviors of the RadBusyIndicator control for accessibility.

It implements the IRangeValueProvider and IToggleProvider interfaces, allowing automated tools to read and manipulate the control's busy state and value through the UI Automation framework. The automation peer also offers additional metadata such as localized control type, control name, and control status.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public class RadBusyIndicatorAutomationPeer : FrameworkElementAutomationPeer, IRangeValueProvider, IToggleProvider

Inheritance: objectRadBusyIndicatorAutomationPeer

Implements: IRangeValueProviderIToggleProvider

Constructors

Initializes a new instance of the RadBusyIndicatorAutomationPeer class.

C#
public RadBusyIndicatorAutomationPeer(RadBusyIndicator owner)
Parameters:ownerRadBusyIndicator

Properties

Gets a value indicating whether the RadBusyIndicator is in a read-only state.

C#
public bool IsReadOnly { get; }

Gets or sets the amount by which the value of the control changes when the user adjusts the value with a large change action.

C#
public double LargeChange { get; }

Gets or sets the maximum duration for the busy indicator.

C#
public double Maximum { get; }

Gets or sets the minimum value for the RadBusyIndicator.

C#
public double Minimum { get; }

Gets or sets the amount the value changes when the user interacts with the RadBusyIndicator.

C#
public double SmallChange { get; }

ToggleState

ToggleState

Retrieves the toggle state of the control.

C#
public ToggleState ToggleState { get; }
Remarks:

For busy indicator control the toggle state is reflected by the IsBusy value. True - ToggleState.On False - ToggleState.Off.

Gets or sets the value of the busy indicator, indicating its current operational state.

C#
public double Value { get; }

Methods

Gets the control type for the RadBusyIndicatorAutomationPeer.

C#
protected override AutomationControlType GetAutomationControlTypeCore()
Returns:

AutomationControlType

The System.Windows.Automation.ControlType.ProgressBar control type.

C#
protected override string GetClassNameCore()
Returns:

string

C#
protected override string GetHelpTextCore()
Returns:

string

C#
protected override string GetItemStatusCore()
Returns:

string

Gets the localized control type for the RadBusyIndicatorAutomationPeer.

C#
protected override string GetLocalizedControlTypeCore()
Returns:

string

The localized string type of the control.

Gets the text label of the System.Windows.ContentElement that is associated with this System.Windows.Automation.Peers.ContentElementAutomationPeer. Called by System.Windows.Automation.Peers.AutomationPeer.GetName().

C#
protected override string GetNameCore()
Returns:

string

Gets the specified pattern for the RadBusyIndicatorAutomationPeer.

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

The pattern interface to retrieve.

Returns:

object

The requested pattern.

Sets the value of the RadBusyIndicator control.

C#
public void SetValue(double value)
Parameters:valuedouble

The double value to set for the RadBusyIndicator.

Toggles the busy state of the RadBusyIndicator.

C#
public void Toggle()