ApplicationBarIconButton.Text Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the label for the icon button.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.
| Exception | Condition |
|---|---|
| InvalidOperationException | The property is null or empty when attempting to add a button to an Application Bar or the property is set to null or empty after the button has been added to an Application Bar. |
| ArgumentOutOfRangeException | The string value exceeds the maximum number of characters allowed. |
Show: