New to Telerik UI for WinForms? Start a free 30-day trial

Exposes a step progress bar's steps as accessible children and identifies the current step.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class RadStepProgressBarAccessibleObject : Control.ControlAccessibleObject, IReflect, IAccessible

Inheritance: objectMarshalByRefObjectStandardOleMarshalObjectAccessibleObjectControl.ControlAccessibleObjectRadStepProgressBarAccessibleObject...

Implements: IAccessibleIReflect

Constructors

Creates the accessibility object for the specified step progress bar.

C#
public RadStepProgressBarAccessibleObject(RadStepProgressBar ownerControl)
Parameters:ownerControlRadStepProgressBar

The step progress bar represented by this object.

Properties

Gets the base accessible name with the current step's name appended when a current step exists; setting the name updates the base accessible name.

C#
public override string Name { get; set; }

Overrides: Control.ControlAccessibleObject.Name

Gets the default accessible role for this object.

C#
public override AccessibleRole Role { get; }

Overrides: Control.ControlAccessibleObject.Role

Methods

Gets the accessible object for the step at the specified index.

C#
public override AccessibleObject GetChild(int index)
Parameters:indexint

The zero-based index in the progress bar's Steps collection.

Returns:

AccessibleObject

An accessible object representing the requested step.

Overrides: AccessibleObject.GetChild(int)

Gets the number of steps exposed by the progress bar.

C#
public override int GetChildCount()
Returns:

int

Overrides: AccessibleObject.GetChildCount()

Gets the current step when one is set; otherwise, returns the base selected accessible object.

C#
public override AccessibleObject GetSelected()
Returns:

AccessibleObject

Overrides: AccessibleObject.GetSelected()

Gets the step under the specified screen point, falling back to the base hit test when no step is found.

C#
public override AccessibleObject HitTest(int x, int y)
Parameters:xint

The horizontal screen coordinate.

yint

The vertical screen coordinate.

Returns:

AccessibleObject

The accessible object for the step at the point, or the result of the base hit test.

Overrides: AccessibleObject.HitTest(int, int)