Skip to main content

TextEdit.AffixFontAttributes Property

Gets or sets whether the prefix and suffix text is bold or italic.

Namespace: DevExpress.XamarinForms.Editors

Assembly: DevExpress.XamarinForms.Editors.dll

NuGet Package: DevExpress.XamarinForms.Editors

#Declaration

C#
public FontAttributes AffixFontAttributes { get; set; }

#Property Value

Type Description
FontAttributes

The value that specifies whether the text is bold, italic, or neither.

#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