Skip to main content
.NET Framework 4.6.2+

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

IModelAction.CaptionFormat Property

Specifies the format for a SingleChoiceAction caption.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

[DefaultValue("{0}")]
string CaptionFormat { get; set; }

#Property Value

Type Default Description
String "{0}"

A format string for a SingleChoiceAction caption.

#Remarks

This string is formatted using two parameters. The first one is the caption of the SingleChoiceAction (ActionBase.Caption) and the second is the caption of the Action’s default item (ChoiceActionBase.DefaultItemCaption). For example, suppose you have a SingleChoiceAction whose caption is Process Order, and its default item has a Quick Process caption. If you specify {0} - {1} as the CaptionFormat, the resulting caption will be Process Order - Quick Process. If you specify {0} Action as the caption format, the resulting caption will be Process Order Action.

See Also