Skip to main content

AutoCompleteEdit.AffixFontFamily Property

Gets or sets the font family of the Prefix and Suffix text. This is a bindable property.

Namespace: DevExpress.Maui.Editors

Assembly: DevExpress.Maui.Editors.dll

NuGet Package: DevExpress.Maui.Editors

Declaration

public string AffixFontFamily { get; set; }

Property Value

Type Description
String

The name of a font family.

Remarks

The AffixFontFamily property allows you to apply the font previously registered in the app to the AutoCompleteEdit text prefix and suffix. For more information about fonts, refer to the following page: Fonts in .NET MAUI.

Example

The following markup configures AutoCompleteEdit prefix settings. The same settings are applied to Suffix if it is specified:

<dxe:AutoCompleteEdit LabelText="State"
                      PlaceholderText="Type here to search..."
                      Margin="16,0" 
                      AffixFontFamily="Univia-Pro" 
                      AffixFontSize="20"
                      AffixIndent="20"
                      AffixColor="Black"
                      Prefix="State: ">
    <!--...-->
</dxe:AutoCompleteEdit>
See Also