Infragistics(R) NetAdvantage(R) : Silverlight 2011.2
Nullable Property
See Also  E-mail your feedback on this topic.
Infragistics.Controls.Editors Namespace > ValueConstraint Class : Nullable Property

Gets/sets a flag which indicates if the constrained value is allowed to be null (Nothing). Default value of this property is null which is to allow null values.

Syntax

Visual Basic (Declaration) 
Public Property Nullable As Nullable(Of Boolean)
C# 
public Nullable<bool> Nullable {get; set;}

Remarks

Nullable property if set to False constraints the value to be non-null. The value must not be one of null (Nothing in VB) or DBNull.

If the ValueConstraint object is associated with an editor's ValueInput.ValueConstraint property, Nullable indicates if the user is allowed to delete all the contents of the editor. If Nullable is set to False then the user is not allowed to delete all the contents. The user must enter a value in the editor.

See Also