BadgeProperties.StretchImage Property
In This Article
Gets or sets whether all badges should stretch their images according to the displayed text.
Namespace: DevExpress.Utils.VisualEffects
Assembly: DevExpress.Utils.v24.2.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
Boolean | true | true if all badges should stretch their images according to the displayed text; otherwise, false. |
#Remarks
If the StretchImage property equals true, the badge image is stretched to fit badge text. The following figure illustrates a badge with a default image (circle) and different StretchImage settings.
If set, BadgeDefaultProperties.ImageOptions.StretchImage
properties of individual badges override the global StretchImage
setting.
See Also