Class DateTimeEditAccessibility
The DateTimeEditAccessibility class provides information about a control that can be used by an accessibility application.
Inheritance
Namespace: Syncfusion.WinForms.Input.Accessibility
Assembly: Syncfusion.SfInput.WinForms.dll
Syntax
public class DateTimeEditAccessibility : Control.ControlAccessibleObject
Constructors
DateTimeEditAccessibility(SfDateTimeEdit)
Initializes a new instance of the DateTimeEditAccessibility class.
Declaration
public DateTimeEditAccessibility(SfDateTimeEdit dateTimeEdit)
Parameters
Type | Name | Description |
---|---|---|
SfDateTimeEdit | dateTimeEdit | SfDateTimeEdit which needs to be used for accessibility application. |
Properties
Bounds
Gets the Bounds of the SfDateTimeEdit which is used by Accessibility program
Declaration
public override Rectangle Bounds { get; }
Property Value
Type |
---|
System.Drawing.Rectangle |
Description
Gets or sets the DateTimeText of the SfDateTimeEdit.
Declaration
public override string Description { get; }
Property Value
Type |
---|
System.String |
Name
Gets the Name of the SfDateTimeEdit which is used by Accessibility program
Declaration
public override string Name { get; }
Property Value
Type |
---|
System.String |
Parent
Gets the Parent of the SfDateTimeEdit which is used by Accessibility program.
Declaration
public override AccessibleObject Parent { get; }
Property Value
Type |
---|
System.Windows.Forms.AccessibleObject |
Role
Gets the AccessibleRole of the SfDateTimeEdit control.
Declaration
public override AccessibleRole Role { get; }
Property Value
Type |
---|
System.Windows.Forms.AccessibleRole |
Value
Gets or sets the DateTimeText of the SfDateTimeEdit.
Declaration
public override string Value { get; set; }
Property Value
Type |
---|
System.String |
Methods
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 | Horizontal screen coordinate. |
System.Int32 | y | 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.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./// |