Class Badge
Represents the additional marker over the content of RadBadgeView.
Inherited Members
Namespace: Telerik.Maui.Controls.BadgeView
Assembly: Telerik.Maui.Controls.dll
Syntax
public class Badge : RadContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding
Constructors
Badge()
Declaration
public Badge()
Fields
AnimationDurationProperty
Identifies the AnimationDuration property.
Declaration
public static readonly BindableProperty AnimationDurationProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
AnimationEasingProperty
Identifies the AnimationEasing property.
Declaration
public static readonly BindableProperty AnimationEasingProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
AnimationTypeProperty
Identifies the AnimationType property.
Declaration
public static readonly BindableProperty AnimationTypeProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
BackgroundColorProperty
Identifies the BackgroundColor property.
Declaration
public static readonly BindableProperty BackgroundColorProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
BorderColorProperty
Identifies the BorderColor property.
Declaration
public static readonly BindableProperty BorderColorProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
BorderThicknessProperty
Identifies the BorderThickness property.
Declaration
public static readonly BindableProperty BorderThicknessProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ControlTemplateProperty
Identifies the ControlTemplate property.
Declaration
public static readonly BindableProperty ControlTemplateProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
CornerRadiusProperty
Identifies the CornerRadius property.
Declaration
public static readonly BindableProperty CornerRadiusProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
FontAttributesProperty
Identifies the FontAttributes property.
Declaration
public static readonly BindableProperty FontAttributesProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
FontFamilyProperty
Identifies the FontFamily property.
Declaration
public static readonly BindableProperty FontFamilyProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
FontSizeProperty
Identifies the FontSize property.
Declaration
public static readonly BindableProperty FontSizeProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
MinimumHeightRequestProperty
Identifies the MinimumHeightRequest property.
Declaration
public static readonly BindableProperty MinimumHeightRequestProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
MinimumWidthRequestProperty
Identifies the MinimumWidthRequest property.
Declaration
public static readonly BindableProperty MinimumWidthRequestProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
StartAnimationCommandProperty
Identifies the StartAnimationCommand property.
Declaration
public static readonly BindableProperty StartAnimationCommandProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
TextColorProperty
Identifies the TextColor property.
Declaration
public static readonly BindableProperty TextColorProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
TextMarginProperty
Identifies the TextMargin property.
Declaration
public static readonly BindableProperty TextMarginProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
TextProperty
Identifies the Text property.
Declaration
public static readonly BindableProperty TextProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Properties
AnimationDuration
Gets or sets the duration of Animation for badge in milliseconds.
Declaration
public int AnimationDuration { get; set; }
Property Value
System.Int32
|
AnimationEasing
Gets or sets the Microsoft.Maui.Easing for the animation of badge.
Declaration
public Easing AnimationEasing { get; set; }
Property Value
Microsoft.Maui.Easing
|
AnimationType
Gets or sets the type of BadgeAnimationType for badge.
Declaration
public BadgeAnimationType AnimationType { get; set; }
Property Value
BadgeAnimationType
|
BackgroundColor
Gets or sets the background color of badge.
Declaration
public Color BackgroundColor { get; set; }
Property Value
Microsoft.Maui.Graphics.Color
|
BorderColor
Gets or sets the border color of badge.
Declaration
public Color BorderColor { get; set; }
Property Value
Microsoft.Maui.Graphics.Color
|
BorderThickness
Gets or sets the border thickness of badge.
Declaration
public Thickness BorderThickness { get; set; }
Property Value
Microsoft.Maui.Thickness
|
ControlTemplate
Gets or sets the ControlTemplate of the view.
Declaration
public ControlTemplate ControlTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.ControlTemplate
|
CornerRadius
Gets or sets the corner radius of badge.
Declaration
public Thickness CornerRadius { get; set; }
Property Value
Microsoft.Maui.Thickness
|
FontAttributes
Gets or sets the text font attributes of badge.
Declaration
public FontAttributes FontAttributes { get; set; }
Property Value
Microsoft.Maui.Controls.FontAttributes
|
FontFamily
Gets or sets the text font family of badge.
Declaration
public string FontFamily { get; set; }
Property Value
System.String
|
FontSize
Gets or sets the text font size of badge.
Declaration
public double FontSize { get; set; }
Property Value
System.Double
|
MinimumHeightRequest
Gets or sets the minimum height of the control.
Declaration
public double MinimumHeightRequest { get; set; }
Property Value
System.Double
|
MinimumWidthRequest
Gets or sets the minimum width of the control.
Declaration
public double MinimumWidthRequest { get; set; }
Property Value
System.Double
|
StartAnimationCommand
Gets the command that starts the badge animation.
Declaration
public ICommand StartAnimationCommand { get; }
Property Value
System.Windows.Input.ICommand
|
Text
Gets or sets the text of badge.
Declaration
public string Text { get; set; }
Property Value
System.String
|
TextColor
Gets or sets the text color of badge.
Declaration
public Color TextColor { get; set; }
Property Value
Microsoft.Maui.Graphics.Color
|
TextMargin
Gets or sets the text margin of badge.
Declaration
public Thickness TextMargin { get; set; }
Property Value
Microsoft.Maui.Thickness
|
Methods
OnApplyTemplate()
Declaration
protected override void OnApplyTemplate()
OnHandlerChanged()
OnPropertyChanged(String)
Declaration
protected override void OnPropertyChanged(string propertyName = null)
Parameters
System.String
propertyName
|
StartBadgeAnimation()
Declaration
public void StartBadgeAnimation()