Skip to main content
All docs
V24.2

DxColorPalette.ShowNoColorTile Property

Specifies whether the Color Palette shows the No Color tile.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

Declaration

[DefaultValue(true)]
[Parameter]
public bool ShowNoColorTile { get; set; }

Property Value

Type Default Description
Boolean true

true to display the No Color tile; false to hide the tile.

Remarks

Users can click the No Color tile to reset a selected color.

Palette - No Color Tile

You can set the ShowNoColorTile property to false to hide the No Color tile.

<DxColorPalette @bind-Value="@Value"
                ShowNoColorTile="false"/>

@code {
    string Value { get; set; } = "#5BCA35";
}

Palette - No Color Tile

Run Demo: Color Palette - Reset Color

See Also