Badge Customization
You can use te following property to specify different text inside the badge
-
BadgeText(string): Defines the badge text. You can set the
BadgeText
property for example if you want to customize the text inside the badge. If you don't want to use one of the predefined badges, etc.
The final result:
Badge Control Template
The Badge has a default ControlTemplate which you can customize.
In order to override the default control template you will need to set implicit style with TargetType="telerikPrimitives:Badge"
Default ControlTemplate
Default ControlTemplate definition
BadgeView definition
Add the following namespace:
Custom ControlTemplate
BadgeView definition
Custom ControlTemplate definition
Add the following namespace:
The final result:
ControlTemplate Example can be found inside the FeaturesCategory folder in SDK Browser Application/Examples/BadgeViewControl.