New to Telerik UI for .NET MAUIStart a free 30-day trial

Represents a control that is used for displaying an additional marker on its content, like number of items or notifications.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class RadBadgeView : RadLayout

Inheritance: objectRadLayoutRadBadgeView

Inherited Members RadLayout.CreateLayoutManager()

Constructors

Initializes a new instance of the RadBadgeView class.

C#
public RadBadgeView()

Fields

Identifies the BadgeAnimationDuration property.

C#
public static readonly BindableProperty BadgeAnimationDurationProperty

Identifies the BadgeAnimationEasing property.

C#
public static readonly BindableProperty BadgeAnimationEasingProperty

Identifies the BadgeAnimationType property.

C#
public static readonly BindableProperty BadgeAnimationTypeProperty

Identifies the BadgeBackgroundColor property.

C#
public static readonly BindableProperty BadgeBackgroundColorProperty

BadgeBorderColorProperty

BindableProperty

Identifies the BadgeBorderColor property.

C#
public static readonly BindableProperty BadgeBorderColorProperty

Identifies the BadgeBorderThickness property.

C#
public static readonly BindableProperty BadgeBorderThicknessProperty

Identifies the BadgeCornerRadius property.

C#
public static readonly BindableProperty BadgeCornerRadiusProperty

Identifies the BadgeFontAttributes property.

C#
public static readonly BindableProperty BadgeFontAttributesProperty

BadgeFontFamilyProperty

BindableProperty

Identifies the BadgeFontFamily property.

C#
public static readonly BindableProperty BadgeFontFamilyProperty

BadgeFontSizeProperty

BindableProperty

Identifies the BadgeFontSize property.

C#
public static readonly BindableProperty BadgeFontSizeProperty

Identifies the BadgeHorizontalAlignment property.

C#
public static BindableProperty BadgeHorizontalAlignmentProperty

Identifies the BadgeHorizontalPosition property.

C#
public static BindableProperty BadgeHorizontalPositionProperty

Identifies the BadgeMinimumHeight property.

C#
public static readonly BindableProperty BadgeMinimumHeightProperty

Identifies the BadgeMinimumWidth property.

C#
public static readonly BindableProperty BadgeMinimumWidthProperty

BadgeOffsetXProperty

BindableProperty

Identifies the BadgeOffsetX property.

C#
public static BindableProperty BadgeOffsetXProperty

BadgeOffsetYProperty

BindableProperty

Identifies the BadgeOffsetY property.

C#
public static BindableProperty BadgeOffsetYProperty

Identifies the BadgeStartAnimationCommand property.

C#
public static readonly BindableProperty BadgeStartAnimationCommandProperty

Identifies the read-only property key for BadgeStartAnimationCommand.

C#
public static readonly BindablePropertyKey BadgeStartAnimationCommandPropertyKey

BadgeTextColorProperty

BindableProperty

Identifies the BadgeTextColor property.

C#
public static readonly BindableProperty BadgeTextColorProperty

BadgeTextMarginProperty

BindableProperty

Identifies the BadgeTextMargin property.

C#
public static readonly BindableProperty BadgeTextMarginProperty

BadgeTextProperty

BindableProperty

Identifies the BadgeText property.

C#
public static readonly BindableProperty BadgeTextProperty

BadgeTypeProperty

BindableProperty

Identifies the BadgeType property.

C#
public static readonly BindableProperty BadgeTypeProperty

Identifies the BadgeVerticalAlignment property.

C#
public static BindableProperty BadgeVerticalAlignmentProperty

Identifies the BadgeVerticalPosition property.

C#
public static BindableProperty BadgeVerticalPositionProperty

BadgeVisibilityProperty

BindableProperty

Identifies the BadgeVisibility property.

C#
public static BindableProperty BadgeVisibilityProperty

ContentProperty

BindableProperty

Identifies the Content property.

C#
public static BindableProperty ContentProperty

PaddingProperty

BindableProperty

Identifies the Padding property.

C#
public static readonly BindableProperty PaddingProperty

Properties

Gets or sets the duration of Animation for badge in milliseconds.

C#
public int BadgeAnimationDuration { get; set; }

Gets or sets the Easing for the animation of badge.

C#
[TypeConverter(typeof(EasingTypeConverter))]
public Easing BadgeAnimationEasing { get; set; }

Gets or sets the type of BadgeAnimationType for badge.

C#
public BadgeAnimationType BadgeAnimationType { get; set; }

Gets or sets the background color of badge.

C#
public Color BadgeBackgroundColor { get; set; }

Gets or sets the border color of badge.

C#
public Color BadgeBorderColor { get; set; }

Gets or sets the border thickness of badge.

C#
public Thickness BadgeBorderThickness { get; set; }

Gets or sets the corner radius of badge.

C#
public Thickness BadgeCornerRadius { get; set; }

BadgeFontAttributes

FontAttributes

Gets or sets the text font attributes of badge.

C#
public FontAttributes BadgeFontAttributes { get; set; }

Gets or sets the text font family of badge.

C#
public string BadgeFontFamily { get; set; }

Gets or sets the text font size of badge.

C#
[TypeConverter(typeof(FontSizeConverter))]
public double BadgeFontSize { get; set; }

Gets or sets the horizontal BadgeAlignment of badge.

C#
public BadgeAlignment BadgeHorizontalAlignment { get; set; }

Gets or sets the horizontal BadgePosition of badge.

C#
public BadgePosition BadgeHorizontalPosition { get; set; }

Gets or sets the minimum height of badge.

C#
public double BadgeMinimumHeight { get; set; }

Gets or sets the minimum width of badge.

C#
public double BadgeMinimumWidth { get; set; }

Gets or sets a value indicating with how much the badge will be moved horizontally after layout.

C#
public double BadgeOffsetX { get; set; }

Gets or sets a value indicating with how much the badge will be moved vertically after layout.

C#
public double BadgeOffsetY { get; set; }

Gets the command that starts the badge animation.

C#
public ICommand BadgeStartAnimationCommand { get; }

Gets or sets the text of badge.

C#
public string BadgeText { get; set; }

Gets or sets the text color of badge.

C#
public Color BadgeTextColor { get; set; }

Gets or sets the text margin of badge.

C#
public Thickness BadgeTextMargin { get; set; }

Gets or sets the badge type.

C#
public BadgeType BadgeType { get; set; }

Gets or sets the vertical BadgeAlignment of badge.

C#
public BadgeAlignment BadgeVerticalAlignment { get; set; }

Gets or sets the vertical BadgePosition of badge.

C#
public BadgePosition BadgeVerticalPosition { get; set; }

BadgeVisibility

Visibility

Gets or sets the visibility Visibility of badge.

C#
public Visibility BadgeVisibility { get; set; }

Gets or sets the badge content.

C#
public View Content { get; set; }

Padding

Thickness

Gets or sets the inner padding of the RadBadgeView.

C#
public Thickness Padding { get; set; }