CrosshairLabelElementBase.Foreground Property
In This Article
Gets or sets the brush used to paint the foreground of the crosshair label element when implementing crosshair cursor custom drawing.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v14.2.dll
#Declaration
#Property Value
Type | Description |
---|---|
Brush | A Brush object used to paint the foreground of the crosshair label element. |
#Remarks
Use the Foreground property when custom drawing a crosshair specific label element (a crosshair axis label, crosshair group header element or crosshair common label) using the ChartControl.CustomDrawCrosshair event handler.
Before using the Foreground property, make sure the ChartControl.CrosshairEnabled property is set to true.
For more information, refer to Crosshair Cursor.
See Also