Skip to main content
.NET Framework 4.5.2+

ParametrizedAction.NullValuePrompt Property

Specifies the default text that is displayed in the Parametrized Action’s control.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

[DefaultValue("")]
public string NullValuePrompt { get; set; }

Property Value

Type Default Description
String String.Empty

A string specifying the default text for the Parametrized Action’s control.

Remarks

Gets or sets the text displayed within the editor representing the current Parametrized Action, when the editor’s value is null.

In Windows Forms applications:

NullValuePrompt_Win

In ASP.NET Web Forms applciations:

NullValuePrompt_Web

By default, this property is set to the value of the IModelAction.NullValuePrompt property of the corresponding Application | ActionDesign | Actions | <Action> node.

If you set another value to this property in code, it will be saved to the Application Model.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the NullValuePrompt property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also