Table of Contents

Enum PropertyGridValidationFailure

Namespace
Alternet.UI
Assembly
Alternet.UI.Interfaces.dll

Specifies action which is performed on property value validation error.

[Flags]
public enum PropertyGridValidationFailure

Fields

Beep = 2

Beeps on validation failure.

Default = MarkCell | ShowMessagebox

Default value.

MarkCell = 4

Cell with invalid value will be marked (with red color).

ShowMessage = 8

Display a text message explaining the situation. Default behaviour is to display the text on the top-level frame's status bar, if present, and otherwise using MessageBox.

ShowMessageOnStatusbar = 32

Similar to ShowMessage, except always displays the message on the status bar.

ShowMessagebox = 16

Similar to ShowMessage, except always displays the message using MessageBox.

StayInProperty = 1

Prevents user from leaving property unless value is valid. If this behaviour flag is not used, then value change is instead cancelled.

Remarks

This enumeration supports a bitwise combination of its member values.