Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxStrokeOptions Class

Stores stroke settings for drawing lines in DevExpress controls.

#Declaration

Delphi
TdxStrokeOptions = class(
    TcxLockablePersistent,
    IcxCanvasCacheControl
)

#Remarks

The TdxStrokeOptions class implements line appearance settings with support for scaling according to the target monitor DPI.

#Main API Members

The list below outlines key members of the TdxStrokeOptions class that allow you to change line appearance.

  • Identify the actual line color (ActualColor).
  • Adjust line width (Width).
  • Change line color (Color).
  • Switch between available line patterns (Style).
  • Avoid excessive redraw operations during batch line appearance setting changes (BeginUpdate, CancelUpdate, and EndUpdate).
  • Copy line appearance settings between visual elements (Assign).

#Direct TdxStrokeOptions Class References

The following public API members reference a TdxStrokeOptions object:

TdxChartVisualElementAppearance.StrokeOptions
Provides access to visual element outline settings.
TdxChartSeriesValueLabelAppearance.StrokeOptions
Provides access to the appearance settings of lines that connect labels to the corresponding series values.
See Also