.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

IModelAction.CaptionFormat Property

Specifies the format for a SingleChoiceAction caption.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v20.2.dll


string CaptionFormat { get; set; }
Property CaptionFormat As String

Property Value

Type Description

A format string for a SingleChoiceAction caption.


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