Exposes a scroll-bar control's current value and its two buttons and thumb as accessible children.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
[ComVisible(true)]
public class RadScrollBarAccessibleObject : RadControlAccessibleObject, IReflect, IAccessible
Inheritance: objectMarshalByRefObjectStandardOleMarshalObjectAccessibleObjectControl.ControlAccessibleObjectRadControlAccessibleObjectRadScrollBarAccessibleObject...
Implements:
Constructors
Creates an accessibility object for a scroll-bar control.
public RadScrollBarAccessibleObject(RadScrollBar owner, string name)
The scroll-bar control represented by this object.
namestringThe initial accessible name passed to the base object.
Properties
Gets the current scroll position as the accessible description.
public override string Description { get; }
Overrides:
Gets the current scroll position as the accessible name.
public override string Name { get; set; }
Overrides:
Setting the name delegates to the base accessibility object; the getter continues to return the current value.
Gets the scroll-bar control represented by this object.
public override object OwnerElement { get; }
Overrides:
Reports the control as a scroll bar.
public override AccessibleRole Role { get; }
Overrides:
Methods
Gets the first button, thumb indicator, or second button at the specified child index.
public override AccessibleObject GetChild(int index)
The child index: zero for the first button, one for the thumb, or two for the second button.
Returns:The accessible object for the corresponding scroll-bar element.
Exceptions: ArgumentOutOfRangeExceptionindex is not between zero and two.
Overrides:
Gets the fixed number of accessible child elements: the two buttons and the thumb.