Defines the name screen readers announce for the control.
Get
| C# | string Name = object.AccessibleName; string Name = object.CtlAccessibleName; |
| VB.NET | Name = object.AccessibleName As String Name = object.CtlAccessibleName As String |
| C++ | _bstr_t Name = object->AccessibleName; _bstr_t Name = object->GetAccessibleName(); |
| C | HRESULT object->get_AccessibleName(BSTR* Name); |
| VB | Name = object.AccessibleName As String |
Put
| C# | string object.AccessibleName = Name; string object.CtlAccessibleName = Name; |
| VB.NET | object.AccessibleName = Name As String object.CtlAccessibleName = Name As String |
| C++ | _bstr_t object->AccessibleName = Name; void object->PutAccessibleName(_bstr_t Name); |
| C | HRESULT object->put_AccessibleName(BSTR Name); |
| VB | object.AccessibleName = Name As String |
object
Name
Defines the name screen readers announce for the control.
The AccessibleName property defines the name screen readers such as Narrator, NVDA and JAWS announce for the tree control. The default is an empty string, for which the tree control is named "SftTree". When a form contains several tree controls, an application should give each one a name, so the user can tell them apart. A split tree control is one data grid for screen readers and uses the same name. p When the name changes while a screen reader is attached, the tree control raises a UI Automation property-changed event, so the screen reader uses the new name. p In Windows Forms, the wrapper class names the property CtlAccessibleName, because Control.AccessibleName exists already. p AccessibleName is available in SftTree/OCX 8.02 and later. A form or dialog saved with an AccessibleName can only be loaded by SftTree/OCX 8.02 and later; without one, it can also be loaded by SftTree/OCX 8.00 and 8.01.
See Also SftTree Object | Object Hierarchy | Accessibility (Screen Readers)