BadgeDefaultProperties.TextMargin Property

Gets or sets margins for this Badge's text.

Namespace: DevExpress.Utils.VisualEffects

Assembly: DevExpress.Utils.v20.1.dll

Declaration

[DefaultValue(null)]
[DXCategory("Layout")]
public Padding? TextMargin { get; set; }
<DefaultValue(Nothing)>
<DXCategory("Layout")>
Public Property TextMargin As Padding?

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