Infragistics(R) NetAdvantage(R) Windows Forms
AllowNull Property
See Also  E-mail your feedback on this topic.
Infragistics.Win.UltraWinGrid Namespace > UltraCombo Class : AllowNull Property

Determines if the control will allow nulls, regardless of whether or not there is a null item on the list.

Syntax

Visual Basic (Declaration) 
Public Property AllowNull As Infragistics.Win.DefaultableBoolean
C# 
public Infragistics.Win.DefaultableBoolean AllowNull {get; set;}

Remarks

When AllowNull is True, the control will allow the user to clear out the text of the control and interpret this as a null value. The null value will be considered acceptable for the purposes of validation. IsItemInList will return true for a value of null or DBNull, even if no such item exists on the list. LimitToList will permit the control to lose focus when the value is null, even when no null item exists on the list. The control will display the as empty; it will not attempt to look for a null item on the list in order to determine the display text.

When this property is Default, the control will have the same behavior as when the property is False.

See Also