Skip to main content

AutoCompleteEdit.Prefix Property

Gets or sets the text that is displayed before the AutoCompleteEdit.Text. This is a bindable property.

Namespace: DevExpress.Maui.Editors

Assembly: DevExpress.Maui.Editors.dll

NuGet Package: DevExpress.Maui.Editors

Declaration

public string Prefix { get; set; }

Property Value

Type Description
String

The text that is displayed before the AutoCompleteEdit.Text.

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