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 allows you to add any control to a gauge linear scale.

The following image shows a linear gauge with a State Indicator control inside it. The state indicator control is used as a custom element.

LinearGauge_CustomElement

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