Back to Devexpress

XlDataValidation.ShowInputMessage Property

corelibraries-devexpress-dot-export-dot-xl-dot-xldatavalidation-f3642771.md

latest1.9 KB
Original Source

XlDataValidation.ShowInputMessage Property

Gets or sets whether to show the input message.

Namespace : DevExpress.Export.Xl

Assembly : DevExpress.Printing.v25.2.Core.dll

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
public bool ShowInputMessage { get; set; }
vb
Public Property ShowInputMessage As Boolean

Property Value

TypeDescription
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:

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

See Also

XlDataValidation Class

XlDataValidation Members

DevExpress.Export.Xl Namespace