Skip to main content

NumericEdit.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 number.

Note

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

See Also