Back to Devexpress

XlDataValidation.PromptTitle Property

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

latest2.0 KB
Original Source

XlDataValidation.PromptTitle Property

Gets or sets the title bar text of the prompt message.

Namespace : DevExpress.Export.Xl

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

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
public string PromptTitle { get; set; }
vb
Public Property PromptTitle As String

Property Value

TypeDescription
String

A String that is the title text.

|

Remarks

Use the XlDataValidation.ShowInputMessage property to display an input prompt message near the cell with the applied validation rule. The XlDataValidation.InputPrompt property specifies the text of the message.

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