Defines whether it is possible to enter null values in the control.
Remarks
If property is set to True, null value can be entered. Null value can be entered with a click on the null button in controls. In order for the control to have null button enabled, NullButton property must have appropriate value defined.
If property is set to True, parameter, to which the value will be passed, must also support null values. This means that data source object must be defined appropriately so that null value can be passed to them.
If property is set to False, control does not support null values; therefore null value cannot be entered. The default value for this property is False.
Example (MxSpace)
To see the defined AllowNullInput property on a control (AdvancedText) open MxSpace solution project in Visual Studio. In Solution Explorer expand node Parts and double click StockPart.cs. Click the advanced text control displaying last names and open Property Window. See the value True defined in AllowNullInput property.
To define AllowNullInput property
- In Solution Explorer open MxPart component (StockPart) which contains control (AdvancedText) for data binding.
- Select the desired control (AdvancedText – Last Name) on the canvas.
- Open Property Window.
- In section Design in AllowNullInput property select the desired value (True).
MxPart
NullButton