Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

C#
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