Class
RadBadgeView

Definition

Namespace:Telerik.UI.Xaml.Controls.Primitives

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class RadBadgeView : RadContentControl

Inheritance: objectRadContentControlRadBadgeView

Inherited Members RadContentControl.IsFocusedPropertyRadContentControl.BeginVisualStateUpdate()RadContentControl.EndVisualStateUpdate(bool, bool)RadContentControl.UpdateVisualState(bool)RadContentControl.SetVisualState(string, bool)RadContentControl.CanUpdateVisualState()RadContentControl.OnUnloaded(object, RoutedEventArgs)RadContentControl.OnLoaded(object, RoutedEventArgs)RadContentControl.ComposeVisualStateName()RadContentControl.OnGotFocus(RoutedEventArgs)RadContentControl.OnLostFocus(RoutedEventArgs)RadContentControl.OnCreateAutomationPeer()RadContentControl.GetTemplatePart<T>(string, bool)RadContentControl.CurrentVisualStateRadContentControl.IsLoadedRadContentControl.IsTemplateAppliedRadContentControl.IsFocusedRadContentControl.IsProperlyTemplated

Constructors

RadBadgeView()

Initializes a new instance of the RadBadge class.

Declaration

cs-api-definition
public RadBadgeView()

Fields

BadgeAnchorPositionProperty

Identifies the BadgeAnchorPosition dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty BadgeAnchorPositionProperty

Field Value

DependencyProperty

BadgePositionProperty

Identifies the BadgePosition dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty BadgePositionProperty

Field Value

DependencyProperty

BadgeProperty

Identifies the Badge dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty BadgeProperty

Field Value

DependencyProperty

Properties

Badge

Gets or sets the badge property.

Declaration

cs-api-definition
public RadBadge Badge { get; set; }

Property Value

RadBadge

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

cs-api-definition
public Point BadgeAnchorPosition { get; set; }

Property Value

Point

BadgePosition

Gets or sets the badge position relative to the target content object.

Declaration

cs-api-definition
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

cs-api-definition
protected override void OnApplyTemplate()

Overrides RadContentControl.OnApplyTemplate()