Skip to main content

CardControl.CustomDisplayText Event

Allows you to customize the texts corresponding to card visual elements.

Namespace: DevExpress.DashboardWin

Assembly: DevExpress.Dashboard.v24.1.Win.dll

NuGet Package: DevExpress.Win.Dashboard

Declaration

public event CardCustomDisplayTextEventHandler CustomDisplayText

Event Data

The CustomDisplayText event's data class is CardCustomDisplayTextEventArgs. The following properties provide information specific to this event:

Property Description
DisplayText Gets or sets the text displayed within a card visual element.
Value Gets the value(s) corresponding to a card visual element.

Remarks

The CustomDisplayText event is raised for each text element within each card displayed in a CardDashboardItem. Use the CardCustomDisplayTextEventArgs.Value event parameter to obtain the value(s) corresponding to a visual element. Then, use CardCustomDisplayTextEventArgs.DisplayText to customize the displayed text for this value.

See Also