Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ExcelDataValidationMessageOptions

OfficeIMO.Excel

Namespace
OfficeIMO.Excel
Assembly
OfficeIMO.Excel
Source revision
9931e96ab849 with working tree changes
Modifiers
sealed

User-facing prompt/error options for data validation.

Inheritance

  • object
  • ExcelDataValidationMessageOptions

Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 2

Constructors

public ExcelDataValidationMessageOptions() #

Properties

public string? PromptTitle { get; set; } #

Gets or sets the input prompt title.

public string? Prompt { get; set; } #

Gets or sets the input prompt text.

public string? ErrorTitle { get; set; } #

Gets or sets the validation error title.

public string? Error { get; set; } #

Gets or sets the validation error text.

public bool ShowInputMessage { get; set; } #

Gets or sets whether Excel should show the input prompt.

public bool ShowErrorMessage { get; set; } #

Gets or sets whether Excel should show the validation error.

public bool PreserveShowMessageFlags { get; set; } #

Gets or sets whether ExcelDataValidationMessageOptions.ShowInputMessage and ExcelDataValidationMessageOptions.ShowErrorMessage are applied exactly, even when message text is present. The default derives visibility from either the flags or non-empty text.

public ExcelDataValidationErrorStyle? ErrorStyle { get; set; } #

Gets or sets the validation error alert style.

public bool? SuppressDropDown { get; set; } #

Gets or sets whether Excel should hide the in-cell dropdown for list validations. Leave null to preserve the existing value.