BadgeDefaultProperties.TextMargin Property
Gets or sets margins for this Badge‘s text.
Namespace: DevExpress.Utils.VisualEffects
Assembly: DevExpress.Utils.v24.1.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
Declaration
Property Value
Type | Default | Description |
---|---|---|
Nullable<Padding> | null | A Padding structure that specifies margins for this Badge‘s text. |
Remarks
The TextMargin property specifies margins around the badge’s text, set by the BadgeDefaultProperties.Text property. This forms the bounds of a text region, according to which badge images are stretched (see the BadgeDefaultProperties.StretchImage property).
If the TextMargin property is not set, this badge inherits its text margins from the BadgeProperties.TextMargin property.
See Also