Skip to main content
All docs
V26.1
  • Badge Properties

    The Badge control displays a text in a badge over a visual element.
    Name Description
    AnimationDuration Get or sets the BadgeControl‘s fade-in and fade-out animation duration. This is a dependency property.
    Background Gets or sets the brush used to paint the BadgeControl‘s background. This is a dependency property.
    BadgeKind Gets or sets the BadgeControl‘s kind. This is a dependency property.
    BadgeShape Gets or sets the BadgeControl‘s shape. This is a dependency property.
    BorderBrush Gets or sets the brush used to paint the borders of the BadgeControl. This is a dependency property.
    BorderThickness Gets or sets the thickness of the BadgeControl‘s border. This is a dependency property.
    Content Gets or sets the badge’s content. This is a dependency property.
    ContentFormatProvider Gets or sets the format provider to format the BadgeControl‘s content. This is a dependency property.
    ContentStringFormat Gets or sets a composite string that specifies how to format the Content property if it is displayed as a string. This is a dependency property.
    ContentTemplate Gets or sets the template used to display the badge’s Badge.Content. This is a dependency property.
    ContentTemplateSelector Gets or sets an object that chooses the Badge.ContentTemplate based on custom logic. This is a dependency property.
    CornerRadius Gets or sets the BadgeControl‘s corner radius. This is a dependency property.
    FontFamily Gets or sets the BadgeControl‘s font family. This is a dependency property.
    FontSize Gets or sets the font size for the BadgeControl‘s text. This is a dependency property.
    FontStretch Gets or sets the Badge’s font stretch. This is a dependency property.
    FontStyle Gets or sets the badge font style. This is a dependency property.
    FontWeight Gets or sets the BadgeControl‘s font weight. This is a dependency property.
    Foreground Gets or sets the brush used to paint the BadgeControl‘s foreground. This is a dependency property.
    Height Gets or sets the BadgeControl‘s height. This is a dependency property.
    HorizontalAlignment Gets or sets the BadgeControl‘s horizontal alignment. This is a dependency property.
    HorizontalAnchor Gets or sets a BadgeControl‘s horizontal anchor point. This is a dependency property.
    HorizontalContentAlignment Gets or sets the content’s horizontal alignment within the BadgeControl container. This is a dependency property.
    Margin Gets or sets the outer indents around the BadgeControl. This is a dependency property.
    MaxHeight Gets or sets the BadgeControl‘s maximum height. This is a dependency property.
    MaxWidth Gets or sets the BadgeControl‘s maximum width. This is a dependency property.
    MinHeight Gets or sets the BadgeControl‘s minimum height. This is a dependency property.
    MinWidth Gets or sets the BadgeControl‘s minimum width. This is a dependency property.
    Opacity Gets or sets the opacity factor applied to the BadgeControl. This is a dependency property.
    Padding Gets or sets the inner indents around the BadgeControl. This is a dependency property.
    Template Gets or sets the template that defines the BadgeControl‘s content presentation. This is a dependency property.
    VerticalAlignment Gets or sets the BadgeControl‘s vertical alignment. This is a dependency property.
    VerticalAnchor Gets or sets a BadgeControl‘s vertical anchor point. This is a dependency property.
    VerticalContentAlignment Gets or sets the content’s vertical alignment within the BadgeControl container. This is a dependency property.
    Visibility Gets or sets the BadgeControl‘s visibility. This is a dependency property.
    Width Gets or sets the BadgeControl‘s width. This is a dependency property.
    See Also