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

Custom Elements

A Custom Element is used to embed any custom content into the Circular Gauge control.

Note that you can use any object as a custom element. For example, the image below shows a Circular Gauge with two custom elements: an image and a text block.

CircularGauge_Custom Elements

A custom element is defined by an instance of the ScaleCustomElement class, which should be added to the ScaleCustomElementCollection returned by the Scale.CustomElements property.

The table below lists the main properties affecting element behavior and appearance.

Characteristics Members
Visibility ScaleCustomElement.Visible
Data ScaleCustomElement.Content,ScaleCustomElement.ContentTemplate
Layout ScaleCustomElement.ZIndex