Skip to main content
All docs
V24.2

DxChartCrosshairLineBase<TComponent, TModel>.Color Property

Specifies the crosshair line color.

Namespace: DevExpress.Blazor.Base

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

Declaration

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

Property Value

Type Description
String

The line 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 DxChartCrosshair class description for more information and an example.

See Also