BadgeDefaultProperties.PaintStyle Property

Gets or sets the paint style applied to this badge.

Namespace: DevExpress.Utils.VisualEffects

Assembly: DevExpress.Utils.v20.1.dll


public BadgePaintStyle? PaintStyle { get; set; }
Public Property PaintStyle As BadgePaintStyle?

Property Value

Type Default Description


A Nullable<T><DevExpress.Utils.VisualEffects.BadgePaintStyle,> enumerator value that specifies the paint style currently applied to this badge.


Using the PaintStyle property, you can instantly apply a specific background color to a badge. Badges in the figure below illustrate all available paint styles.

Badge - Paint Styles

Note that if you manually set a background color in the Badge.Appearance group, a badge will prioritize this color over the PaintStyle setting.

See Also