New to Telerik UI for WinUI? Download free 30-day trial

View Settings

The Badge provides the RadBadgeView wrapper component, which specifies the Badge position based on its content.

RadBadgeView supports the following properties:

  • BadgePosition—A property of type Point that gets or sets the position of the Badge in relation to the target content object.

    The Badge uses its central point for positioning itself in relation to the attached element.

  • AnchorPosition—A property of type Point that gets or sets the anchor position of the Badge in relation to the size of the Badge component. The default value is (0.5, 0.5).

Setting Badge positions

<primitives:RadBadgeView BadgePosition="1,1" BadgeAnchorPosition="0,0.5" />  
<!-- where primitves points to xmlns:primitives="using:Telerik.UI.Xaml.Controls.Primitives"--> 

See Also

In this article
Not finding the help you need?