Skip to main content
All docs
V25.1
  • TdxStrokeOptions Class

    Stores stroke settings for drawing lines in DevExpress controls.

    Declaration

    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