Skip to main content

AutoCompleteEdit.AffixIndent Property

Gets or sets the indent 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 double AffixIndent { get; set; }

Property Value

Type Description
Double

The indent in device-independent units.

Remarks

The following image shows the indent between the prefix, suffix, and placeholder text. To specify the placeholder text position relative to affixes, use the EditBase.TextHorizontalAlignment property.

DevExpress AutoCompleteEdit for MAUI - Affix indent for the prefix and suffix

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