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

Exposes a tab as a page-tab accessible object within a tabbed form control.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
[ComVisible(true)]
public class RadTabbedFormControlTabAccessibilityObject : RadControlAccessibleObject, IReflect, IAccessible

Inheritance: objectMarshalByRefObjectStandardOleMarshalObjectAccessibleObjectControl.ControlAccessibleObjectRadControlAccessibleObjectRadTabbedFormControlTabAccessibilityObject...

Implements: IAccessibleIReflect

Constructors

Creates an accessible object for a tab and assigns its parent tab-list object.

C#
public RadTabbedFormControlTabAccessibilityObject(RadTabbedFormControlTab owner, RadTabbedFormControlAccessibilityObject parent, string name)
Parameters:ownerRadTabbedFormControlTab

The tab represented by this object.

parentRadTabbedFormControlAccessibilityObject

The accessible tab-list object containing the tab.

namestring

The initial accessible name.

Properties

Gets the tab item's bounds in screen coordinates.

C#
public override Rectangle Bounds { get; }

Overrides: AccessibleObject.Bounds

Gets a name composed from the base accessible description and tab item's text. Setting this property stores a value through the base accessible object's Name.

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

Overrides: RadControlAccessibleObject.Name

Gets the tab represented by this accessible object.

C#
public override object OwnerElement { get; }

Overrides: RadControlAccessibleObject.OwnerElement

Gets the accessible tab list that contains this tab.

C#
public override AccessibleObject Parent { get; }

Overrides: Control.ControlAccessibleObject.Parent

Gets the page-tab role.

C#
public override AccessibleRole Role { get; }

Overrides: Control.ControlAccessibleObject.Role

Gets the tab's focusable state and reports it as focused when it is selected.

C#
public override AccessibleStates State { get; }

Overrides: AccessibleObject.State

Methods

Gets the tab's pin button at index 0 and close button at index 1 when the close button is visible.

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

The zero-based child index.

Returns:

AccessibleObject

An accessible object for the pin button at index 0 or the close button at index 1.

Overrides: AccessibleObject.GetChild(int)

Gets the number of tab-button children, which is two when the close button is visible and zero otherwise.

C#
public override int GetChildCount()
Returns:

int

Two when the tab's close button is visible; otherwise, zero.

Overrides: AccessibleObject.GetChildCount()