Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BadgeDefaultProperties.PaintStyle Property

Gets or sets the paint style applied to this badge.

Namespace: DevExpress.Utils.VisualEffects

Assembly: DevExpress.Utils.v24.2.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