This property sets a Badge text into controls in an application for Smart Devices. Badges texts usually include additional information into the action icons or button, i.e., in a shopping cart icon, displays how many products have been purchased so far.
control.BadgeText = Expression
Is the name of a control inserted in the Application Bar
Is the text that will be displayed.
The assigned values will be displayed in the top-right corner of the control. For iOS applications, the property can be set for Buttons and Action Groups controls, in Android is only available for Buttons.
In order to reset the Badge value in the control, an empty text value must be assigned.
This property applies only at run-time.
Button.BadgeText = !"1"
ActionGroup.BadgeText = "New"
Button.BadgeText = !"" // Reset badge
Objects: Panel for Smart Devices, Work With for Smart Devices
Platform: Mobile (iOS, Android)
Controls: Button, Action Group (only in iOS)