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

ActionBase.Caption Property

Specifies an Action's caption.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

[DefaultValue("")]
public string Caption { get; set; }
<DefaultValue("")>
Public Property Caption As String
[DefaultValue("")]
public string Caption { get; set; }
<DefaultValue("")>
Public Property Caption As String
[DefaultValue("")]
public string Caption { get; set; }
<DefaultValue("")>
Public Property Caption As String

Property Value

Type Default Description
String

String.Empty

A string property that represents the current Action's caption.

Property Value

Type Default Description
String

String.Empty

A string property that represents the current Action's caption.

Property Value

Type Default Description
String

String.Empty

A string property that represents the current Action's caption.

Remarks

By default, this property is set to the ActionBase.Id property value. You can set another value in the Controller's constructor or Designer. This value will be saved to the Application Model's ActionDesign | Actions | <Action> node. You can change this value via the Model Editor. In a UI, the value which is specified in the Application Model's .xafml file, loaded last, will be displayed. For information on the order of Application Model differences loading, refer to the Application Model Basics topic.

When setting a value to this property, the View.CaptionChanged event is raised.

See Also