BadgeDefaultProperties.TextMargin Property

Gets or sets margins for this Badge's text.

Namespace: DevExpress.Utils.VisualEffects

Assembly: DevExpress.Utils.v20.1.dll


public Padding? TextMargin { get; set; }
Public Property TextMargin As Padding?

Property Value

Type Default Description


A Padding structure that specifies margins for this Badge's text.


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