Skip to main content

AutoCompleteEdit.AffixColor Property

Gets or sets the color 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 Color AffixColor { get; set; }

Property Value

Type Description
Color

The prefix and suffix text color.

Remarks

Use the AffixColor property to change the color of the editor’s prefix and suffix. The DisabledAffixColor property specifies the prefix/suffix color for the editor in the disabled state (the editor’s IsEnabled property is set to false).

You can also use the AffixFontSize, AffixFontAttributes, and AffixFontFamily properties to customize the editor’s prefix/suffix text font, and AffixIndent to specify the distance between the affix and the input 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