Class RibbonControlAdvAccessibility
Provides information about a control that can be used by an accessibility application.
Inheritance
Namespace: Syncfusion.Windows.Forms.Tools.Accessibility
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class RibbonControlAdvAccessibility : Control.ControlAccessibleObject
Constructors
RibbonControlAdvAccessibility(RibbonControlAdv)
Constructor
Declaration
public RibbonControlAdvAccessibility(RibbonControlAdv ribbon)
Parameters
Type | Name | Description |
---|---|---|
RibbonControlAdv | ribbon | The RibbonControlAdv instance. |
Properties
Bounds
Bounds of the Control
Declaration
public override Rectangle Bounds { get; }
Property Value
Type | Description |
---|---|
System.Drawing.Rectangle | The accessible object bounds. |
Description
Gets the description of the RibbonControlAdvAccessibility
Declaration
public override string Description { get; }
Property Value
Type | Description |
---|---|
System.String | A string describing the RibbonControlAdvAccessibility. |
Help
Gets the description of what the object does or how the object is used.
Declaration
public override string Help { get; }
Property Value
Type | Description |
---|---|
System.String | The description of what the object does or how the object is used. |
Name
Gets or sets the accessible object name
Declaration
public override string Name { get; }
Property Value
Type | Description |
---|---|
System.String | The accessible object name. |
Parent
Gets the parent of an accessible object.
Declaration
public override AccessibleObject Parent { get; }
Property Value
Type | Description |
---|---|
System.Windows.Forms.AccessibleObject | An RibbonControlAdvAccessibility that represents the parent of an accessible object, or null if there is no parent object. |
Role
Gets the role for the RibbonControlAdv. This is used by accessibility programs.
Declaration
public override AccessibleRole Role { get; }
Property Value
Type |
---|
System.Windows.Forms.AccessibleRole |
State
Gets the state of this accessible object.
Declaration
public override AccessibleStates State { get; }
Property Value
Type |
---|
System.Windows.Forms.AccessibleStates |
Value
Gets or sets the value of an accessible object.
Declaration
public override string Value { get; set; }
Property Value
Type |
---|
System.String |
Methods
GetChild(Int32)
Retrieves the accessible child corresponding to the index.
Declaration
public override AccessibleObject GetChild(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Index |
Returns
Type | Description |
---|---|
System.Windows.Forms.AccessibleObject | Child specified to the index |
GetChildCount()
Retrieves the number of children in the accessible object.
Declaration
public override int GetChildCount()
Returns
Type | Description |
---|---|
System.Int32 | Number of Child. |
GetFocused()
Retrieves the object that has the focus.
Declaration
public override AccessibleObject GetFocused()
Returns
Type | Description |
---|---|
System.Windows.Forms.AccessibleObject |
|
GetSelected()
Retrieves the currently selected child.
Declaration
public override AccessibleObject GetSelected()
Returns
Type | Description |
---|---|
System.Windows.Forms.AccessibleObject | An RibbonControlAdvAccessibility that represents the currently selected child. This method returns the calling object if the object itself is selected. Returns null if is no child is currently selected and the object itself does not have focus. |
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 RibbonControlAdvAccessibility 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)
Navigates to another accessible object.
Declaration
public override AccessibleObject Navigate(AccessibleNavigation navdir)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.AccessibleNavigation | navdir | One of the System.Windows.Forms.AccessibleNavigation values. |
Returns
Type | Description |
---|---|
System.Windows.Forms.AccessibleObject | An RibbonControlAdvAccessibility that represents one of the AccessibleNavigation values. |