Interface ILegacyIAccessiblePattern
The methods and properties used to retrieve accessibility information about a control.
Namespace: HP.LFT.SDK.UIAPro
Assembly: HP.LFT.SDK.dll
Syntax
public interface ILegacyIAccessiblePattern
Properties
ChildId
The Microsoft Active Accessibility child identifier for the current object.
Declaration
int ChildId { get; }
Property Value
| Type | Description |
|---|---|
| int |
DefaultOperation
The Microsoft Active Accessibility default operation for the current object.
Declaration
string DefaultOperation { get; }
Property Value
| Type | Description |
|---|---|
| string |
Description
The Microsoft Active Accessibility description for the current object.
Declaration
string Description { get; }
Property Value
| Type | Description |
|---|---|
| string |
Help
The Microsoft Active Accessibility help string for the current object.
Declaration
string Help { get; }
Property Value
| Type | Description |
|---|---|
| string |
KeyboardShortcut
The Microsoft Active Accessibility keyboard shortcut for the current object.
Declaration
string KeyboardShortcut { get; }
Property Value
| Type | Description |
|---|---|
| string |
Name
The Microsoft Active Accessibility name for the current object.
Declaration
string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
Role
The Microsoft Active Accessibility role for the current object.
Declaration
AccessibleRole Role { get; }
Property Value
| Type | Description |
|---|---|
| AccessibleRole |
SelectedChildren
The Microsoft Active Accessibility selected children of the current object. Note: This method is only supported when you enable the legacy UIA Pro Add-in.
Declaration
[Obsolete]
List<object> SelectedChildren { get; }
Property Value
| Type | Description |
|---|---|
| List<object> |
SelectedChildrenAsUIObjects
The Microsoft Active Accessibility selected children of the current object. Note: This method is not supported when you enable the legacy UIA Pro Add-in.
Declaration
List<IUiObject> SelectedChildrenAsUIObjects { get; }
Property Value
| Type | Description |
|---|---|
| List<IUiObject> |
State
The Microsoft Active Accessibility state for the current object.
Declaration
AccessibleState State { get; }
Property Value
| Type | Description |
|---|---|
| AccessibleState |
Value
The Microsoft Active Accessibility value for the current object.
Declaration
string Value { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
PerformDefaultOperation()
Performs the default operation on the control.
Declaration
void PerformDefaultOperation()
Select(SelectOptions)
Selects the element.
Declaration
void Select(SelectOptions selectionOptions)
Parameters
| Type | Name | Description |
|---|---|---|
| SelectOptions | selectionOptions | The flag to use when selecting the element. |
SetSecure(string)
The Microsoft Active Accessibility encrypted value for the current object.
Declaration
void SetSecure(string encryptedValue)
Parameters
| Type | Name | Description |
|---|---|---|
| string | encryptedValue |