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

TdxGaugeCustomCaption Class

The base class for the custom inscriptions created within a scale.

#Declaration

Delphi
TdxGaugeCustomCaption = class(
    TcxComponentCollectionItem,
    IdxGaugeSelectableElement
)

#Remarks

This class implements the basic functionality required by custom labels for both the digital and quantitative scales.

The TdxGaugeCustomCaption class extends its ancestor class with the following properties allowing you to:

  • Position the custom label within a scale (the OptionsLayout property set);

  • Set the text string displayed as the custom inscription within a scale (the Text property);

  • Customize the custom label’s appearance (the OptionsView property set);

  • Hide and display the custom inscription within a scale (the Visible property).

Note

You do not need to create instances of the TdxGaugeCustomCaption class, use its descendants instead. The TdxGaugeQuantiativeScaleCaption and TdxGaugeDigitalScaleCaption classes implement the custom labels that can be created in quantitative and digital scales, respectively.

See Also