IBindingValue.Mandatory

Syntax

Mandatory: Boolean;

Description

The Mandatory property controls the ALLOWEMPTY parameter value in binding string.

Comments

The ALLOWEMPTY parameter determines whether empty value can be set in the editor. If parameter is set to True, empty value can be set in the editor, otherwise - not. The Mandatory property works as follows:

The Mandatory property is available, if the MandatoryDefined property is set to True. If the Mandatory property is changed, the MandatoryDefined property is automatically set to True.

The ALLOWEMPTY parameter use is available for the following editors:

Example

The example of use is given in description of the IBindingIntegerEdit.MaxValue property.

See also:

IBindingValue