Gets or sets the text that is displayed by the AccessText element. This is a dependency property.
Assembly: PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
<object>_accessText</object> - or - <object><accessTextObject>_accessText</accessTextObject></object>
Property ValueType: System.String
The text without the first underscore character. The default is an empty string.
An access key is not created if you use the property to supply text for an AccessText element. This property is used internally to determine the text that is displayed by the access key. You can use this property to set additional text that does not contain the mnemonic (underlined character) or to retrieve the access key text.
The following example creates an access key that customizes the first letter of the access key, which contains the mnemonic, and then sets the rest of the text by using the property.