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

Exposes a page view's pages as accessible tabs and reports selection changes to accessibility clients.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
[ComVisible(true)]
public class RadPageViewAccessibilityObject : Control.ControlAccessibleObject, IReflect, IAccessible

Inheritance: objectMarshalByRefObjectStandardOleMarshalObjectAccessibleObjectControl.ControlAccessibleObjectRadPageViewAccessibilityObject...

Implements: IAccessibleIReflect

Constructors

Creates the accessibility object for a page view and subscribes to its selected-page changes.

C#
public RadPageViewAccessibilityObject(RadPageView owner)
Parameters:ownerRadPageView

The page view represented by this object.

Properties

Gets the page view's accessible description, control text, and selected page text; when coded UI tests are enabled, returns only the control text. Setting the name updates the page view's Name.

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

Overrides: Control.ControlAccessibleObject.Name

Gets the page view whose pages are exposed by this accessibility object.

C#
public RadPageView OwnerPageView { get; }

Gets the PageTabList role for the page view.

C#
public override AccessibleRole Role { get; }

Overrides: Control.ControlAccessibleObject.Role

Methods

Gets the page tab at the specified page index.

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

The zero-based index in the page view's Pages collection.

Returns:

AccessibleObject

An accessible object representing the page at that index.

Overrides: AccessibleObject.GetChild(int)

Gets the number of accessible children, matching the page view's page count.

C#
public override int GetChildCount()
Returns:

int

Overrides: AccessibleObject.GetChildCount()