Skip to main content

BadgeDefaultProperties.PaintStyle Property

Gets or sets the paint style applied to this badge.

Namespace: DevExpress.Utils.VisualEffects

Assembly: DevExpress.Utils.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

[DefaultValue(null)]
[DXCategory("Appearance")]
public BadgePaintStyle? PaintStyle { get; set; }

Property Value

Type Default Description
Nullable<DevExpress.Utils.VisualEffects.BadgePaintStyle> null

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

Remarks

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