Skip to main content
.NET 8.0+

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

ParametrizedAction.NullValuePrompt Property

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

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v24.2.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