Skip to main content
A newer version of this page is available. .

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.
CanFreeze Gets a value that indicates whether the object can be made unmodifiable. Inherited from Freezable.
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.
DependencyObjectType Gets the DependencyObjectType that wraps the CLR type of this instance. Inherited from DependencyObject.
Dispatcher Gets the Dispatcher this DispatcherObject is associated with. Inherited from DispatcherObject.
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 foregound. 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.
IsFrozen Gets a value that indicates whether the object is currently modifiable. Inherited from Freezable.
IsSealed Gets a value that indicates whether this instance is currently sealed (read-only). Inherited from DependencyObject.
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