Class DockTabControlAccessibility
The DockTabControlAccessibility class provides information about a dock tab panel that can be used by an accessibility application.
Inheritance
Namespace: Syncfusion.Windows.Forms.Tools.Accessibility
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class DockTabControlAccessibility : Control.ControlAccessibleObject
Constructors
DockTabControlAccessibility(DockTabControl)
Initializes a new instance of the DockTabControlAccessibility class.
Declaration
public DockTabControlAccessibility(DockTabControl tabControl)
Parameters
Type | Name | Description |
---|---|---|
DockTabControl | tabControl | DockTabControl control. |
Properties
Bounds
Gets the bounds of the DockTabControl control.
Declaration
public override Rectangle Bounds { get; }
Property Value
Type |
---|
System.Drawing.Rectangle |
Description
Gets the description of the DockTabControl control.
Declaration
public override string Description { get; }
Property Value
Type |
---|
System.String |
Name
Gets the name of the DockTabControl control.
Declaration
public override string Name { get; }
Property Value
Type |
---|
System.String |
Parent
Gets the parent of the DockTabControl control.
Declaration
public override AccessibleObject Parent { get; }
Property Value
Type |
---|
System.Windows.Forms.AccessibleObject |
Role
Gets the accessible role of the DockTabControl control.
Declaration
public override AccessibleRole Role { get; }
Property Value
Type |
---|
System.Windows.Forms.AccessibleRole |
State
Gets the state of the DockTabControl control.
Declaration
public override AccessibleStates State { get; }
Property Value
Type |
---|
System.Windows.Forms.AccessibleStates |
Value
Gets or sets the value of the DockTabControl control.
Declaration
public override string Value { get; set; }
Property Value
Type |
---|
System.String |
Methods
GetChild(Int32)
Gets the Accessibility object of the tabpage which identified by index.
Declaration
public override AccessibleObject GetChild(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index of the DockTabpage |
Returns
Type | Description |
---|---|
System.Windows.Forms.AccessibleObject | The AccessibleObject of the specified tab page. |
GetChildCount()
Gets the tabpages count.
Declaration
public override int GetChildCount()
Returns
Type | Description |
---|---|
System.Int32 | The number of the tab pages. |
GetFocused()
Gets the focused control in accessible object.
Declaration
public override AccessibleObject GetFocused()
Returns
Type | Description |
---|---|
System.Windows.Forms.AccessibleObject | Indicates whether its focused. |
GetSelected()
Returns the selected tabpage.
Declaration
public override AccessibleObject GetSelected()
Returns
Type | Description |
---|---|
System.Windows.Forms.AccessibleObject | Indicates whether the currently selected child. |
HitTest(Int32, Int32)
Retrieves the child object at the specified screen coordinates.
Declaration
public override AccessibleObject HitTest(int x, int y)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | x | The horizontal screen coordinate. |
System.Int32 | y | The vertical screen coordinate. |
Returns
Type | Description |
---|---|
System.Windows.Forms.AccessibleObject | An DockTabControlAccessibility that represents the child object at the given screen coordinates. This method returns the calling object if the object itself is at the location specified. Returns null if no object is at the tested location. |
Navigate(AccessibleNavigation)
Overridden navigate method
Declaration
public override AccessibleObject Navigate(AccessibleNavigation navdir)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.AccessibleNavigation | navdir | The instance of the accessible navigation. |
Returns
Type | Description |
---|---|
System.Windows.Forms.AccessibleObject | The AccessibleObject of the selected tab. |