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 typePoint
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 typePoint
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"-->