Interface ILegacyIAccessiblePattern
The methods and properties used to retrieve accessibility information about a control.
public interface ILegacyIAccessiblePattern
Properties
ChildId
The Microsoft Active Accessibility child identifier for the current object.
int ChildId { get; }
Property Value
DefaultOperation
The Microsoft Active Accessibility default operation for the current object.
string DefaultOperation { get; }
Property Value
Description
The Microsoft Active Accessibility description for the current object.
string Description { get; }
Property Value
Help
The Microsoft Active Accessibility help string for the current object.
string Help { get; }
Property Value
KeyboardShortcut
The Microsoft Active Accessibility keyboard shortcut for the current object.
string KeyboardShortcut { get; }
Property Value
Name
The Microsoft Active Accessibility name for the current object.
string Name { get; }
Property Value
Role
The Microsoft Active Accessibility role for the current object.
AccessibleRole Role { get; }
Property Value
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.
[Obsolete("Use SelectedChildrenAsUIObjects instead.")]
List<object> SelectedChildren { get; }
Property Value
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.
List<IUiObject> SelectedChildrenAsUIObjects { get; }
Property Value
State
The Microsoft Active Accessibility state for the current object.
AccessibleState State { get; }
Property Value
Value
The Microsoft Active Accessibility value for the current object.
string Value { get; set; }
Property Value
Methods
PerformDefaultOperation()
Performs the default operation on the control.
void PerformDefaultOperation()
Select(SelectOptions)
Selects the element.
void Select(SelectOptions selectionOptions)
Parameters
selectionOptionsSelectOptionsThe flag to use when selecting the element.
SetSecure(string)
The Microsoft Active Accessibility encrypted value for the current object.
void SetSecure(string encryptedValue)
Parameters
encryptedValuestring