ClassRadBadgeView
Definition
Namespace:Telerik.UI.Xaml.Controls.Primitives
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class RadBadgeView : RadContentControl
Inheritance: objectRadContentControlRadBadgeView
Inherited Members
Constructors
RadBadgeView()
Initializes a new instance of the RadBadge class.
Declaration
public RadBadgeView()
Fields
BadgeAnchorPositionProperty
Identifies the BadgeAnchorPosition dependency property.
Declaration
public static readonly DependencyProperty BadgeAnchorPositionProperty
Field Value
DependencyProperty
BadgePositionProperty
Identifies the BadgePosition dependency property.
Declaration
public static readonly DependencyProperty BadgePositionProperty
Field Value
DependencyProperty
BadgeProperty
Identifies the Badge dependency property.
Declaration
public static readonly DependencyProperty BadgeProperty
Field Value
DependencyProperty
Properties
Badge
Gets or sets the badge property.
BadgeAnchorPosition
Gets or sets the anchor position of the badge, relative to the size of the badge control. When you set the BadgePosition property, consider you move this anchor position. Default value is (0.5, 0.5) meaning the center point of the badge is used for positioning it relatively to the target content object.
Declaration
public Point BadgeAnchorPosition { get; set; }
Property Value
Point
BadgePosition
Gets or sets the badge position relative to the target content object.
Declaration
public Point BadgePosition { get; set; }
Property Value
Point
Methods
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call . In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.
Declaration
protected override void OnApplyTemplate()
Overrides