Assembly: PresentationFramework (in presentationframework.dll)
XML Namespace: http://schemas.microsoft.com/winfx/2006/xaml/presentation
/** @property */ public String get_Text () /** @property */ public void set_Text (String value)
<object>_accessText</object> - or - <object><accessTextObject>_accessText</accessTextObject></object>
_accessText A string that contains the underscore character. This value becomes an AccessText that handles access keys for the object. The access key is the character that immediately follows the underscore. accessTextObject The AccessText.
Property ValueThe text without the first underscore character. The default is an empty string.
An access key is not created if you use the Text 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 Text property.
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.