Xceed Grid for WinForms v4.3 Documentation
NullValue Property (WinNumericTextBox)


Xceed.Editors.v2.6 Assembly > Xceed.Editors Namespace > WinNumericTextBox Class : NullValue Property
Gets or sets the a null reference (Nothing in Visual Basic) value of the WinNumericTextBox control.
Syntax
'Declaration
 
<DescriptionAttribute("The null (Nothing in Visual Basic) value of the WinNumericTextBox control.")>

<CategoryAttribute("Behavior")>

<TypeConverterAttribute("Xceed.Editors.Design.NumericValueConverter,Xceed.Editors.v2.6.Design,Version=2.6.20076.12375,Culture=neutral,PublicKeyToken=ba83ff368b7563c6")>

<RefreshPropertiesAttribute(RefreshProperties.Repaint)>

Public Property NullValue As Object
'Usage
 
Dim instance As WinNumericTextBox

Dim value As Object

 

instance.NullValue = value

 

value = instance.NullValue
[Description("The null (Nothing in Visual Basic) value of the WinNumericTextBox control.")]

[Category("Behavior")]

[TypeConverter("Xceed.Editors.Design.NumericValueConverter,Xceed.Editors.v2.6.Design,Version=2.6.20076.12375,Culture=neutral,PublicKeyToken=ba83ff368b7563c6")]

[RefreshProperties(RefreshProperties.Repaint)]

public object NullValue {get; set;}

Property Value

A value representing the a null reference (Nothing in Visual Basic) value of the WinNumericTextBox control. By default, DefaultNullValue.
Remarks

The datatype of the NullValue property can be retrieved using the DataType property.

If NullValue is assigned to the Value property, DisplayNullText will be displayed in the WinNumericTextBox when it loses focus.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WinNumericTextBox Class
WinNumericTextBox Members