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. |
null | A Nullable |
#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.
Note that if you manually set a background color in the Badge.Appearance group, a badge will prioritize this color over the PaintStyle setting.