Back to Devexpress

DxColorPalette.ShowNoColorTile Property

blazor-devexpress-dot-blazor-dot-dxcolorpalette-afd89be8.md

latest1.4 KB
Original Source

DxColorPalette.ShowNoColorTile Property

Specifies whether the Color Palette shows the No Color tile.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

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

Property Value

TypeDefaultDescription
Booleantrue

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.

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

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

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

Run Demo: Color Palette - Reset Color

See Also

DxColorPalette Class

DxColorPalette Members

DevExpress.Blazor Namespace