Skip to main content

TokenAppearance.BackgroundColor Property

Gets or sets the background color for editor tokens. This is a bindable property.

Namespace: DevExpress.Maui.Editors

Assembly: DevExpress.Maui.Editors.dll

NuGet Package: DevExpress.Maui.Editors

Declaration

public Color BackgroundColor { get; set; }

Property Value

Type Description
Color

An object that specifies a color.

Remarks

The following example shows how to specify the background color for AutoCompleteTokenEdit tokens:

The specified token background

<dxe:AutoCompleteTokenEdit ...>
    <!--...-->
    <dxe:AutoCompleteTokenEdit.TokenAppearance>
        <dxe:TokenAppearance Padding="2" BackgroundColor="#CCD4FF" />
    </dxe:AutoCompleteTokenEdit.TokenAppearance>
</dxe:AutoCompleteTokenEdit>
See Also