Skip to main content

XlDataValidation.ShowInputMessage Property

Gets or sets whether to show the input message.

Namespace: DevExpress.Export.Xl

Assembly: DevExpress.Printing.v24.1.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

public bool ShowInputMessage { get; set; }

Property Value

Type Description
Boolean

true, to show the message prompt; otherwise, false.

Remarks

Use the XlDataValidation.InputPrompt and XlDataValidation.PromptTitle properties to specify the input message’s text and caption.

The code sample below shows how to show an input message:

// Display the input message.
validation.InputPrompt = "Please enter a whole number between 600 and 2000";
validation.PromptTitle = "Salary";
validation.ShowInputMessage = true;
See Also