Back to Devexpress

DxFontSettings.Color Property

blazor-devexpress-dot-blazor-dot-dxfontsettings.md

latest1.1 KB
Original Source

DxFontSettings.Color Property

Specifies the element’s text color.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[Parameter]
public string Color { get; set; }

Property Value

TypeDescription
String

The text color.

|

Remarks

The Color property accepts the following formats:

  • Longhand and shorthand hexadecimal color values: #ffff00, #ff0.
  • RGB and RGBA color codes: rgb(255, 0, 0), rgba(0, 230, 0, 0.3).
  • HTML color name (case-insensitive): red, DarkGreen.

Refer to the DxFontSettings class description for additional information and an example.

See Also

DxFontSettings Class

DxFontSettings Members

DevExpress.Blazor Namespace