Skip to main content

TextEdit.AffixFontAttributes Property

Gets or sets whether the prefix and suffix text is bold or italic. This is a bindable property.

Namespace: DevExpress.Maui.Editors

Assembly: DevExpress.Maui.Editors.dll

NuGet Package: DevExpress.Maui.Editors

Declaration

public FontAttributes AffixFontAttributes { get; set; }

Property Value

Type Default Description
FontAttributes None

The font attributes.

Remarks

You can also use the AffixFontSize and AffixFontFamily properties to change the prefix/suffix text size and font, AffixColor and DisabledAffixColor to change the prefix/suffix color, and AffixIndent to specify the distance between the affix and input text.

Note

The AffixFontAttributes property affects the default font only. If you need to apply a bold or italic custom font to the prefix/suffix text, add the corresponding font style file to your solution and assign that font to the AffixFontFamily property.

See Also