Class CarouselAccessibility
Accessibility class to provide Coded UI support.
Inheritance
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class CarouselAccessibility : Control.ControlAccessibleObject
Constructors
CarouselAccessibility(Carousel)
Constructor.
Declaration
public CarouselAccessibility(Carousel carousel)
Parameters
Type | Name | Description |
---|---|---|
Carousel | carousel | Carousel |
Properties
Bounds
Bounds of the Control
Declaration
public override Rectangle Bounds { get; }
Property Value
Type |
---|
System.Drawing.Rectangle |
Description
Gets the description of the Control.ControlAccessibleObject
Declaration
public override string Description { get; }
Property Value
Type |
---|
System.String |
Help
Gets the description of what the object does or how the object is used.
Declaration
public override string Help { get; }
Property Value
Type |
---|
System.String |
Name
Gets or sets the accessible object name
Declaration
public override string Name { get; }
Property Value
Type |
---|
System.String |
Parent
Gets the parent of an accessible object.
Declaration
public override AccessibleObject Parent { get; }
Property Value
Type |
---|
System.Windows.Forms.AccessibleObject |
Role
Gets the role for the Carousel. This is used by accessibility programs.
Declaration
public override AccessibleRole Role { get; }
Property Value
Type |
---|
System.Windows.Forms.AccessibleRole |
State
Gets the state of the 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 |
---|
System.Windows.Forms.AccessibleObject |
GetSelected()
Retrieves the currently selected child.
Declaration
public override AccessibleObject GetSelected()
Returns
Type | Description |
---|---|
System.Windows.Forms.AccessibleObject | 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 System.Windows.Forms.AccessibleObject that represents the child object at the given screen coordinates. |