Enters a a null reference (in Visual Basic Nothing) into the column.
[Visual Basic] Overridable Public Sub EnterNullValue() [C#] public virtual void EnterNullValue(); [C++] public: virtual void EnterNullValue(); [JScript] public function EnterNullValue();
The EnterNullValue has no default behavior. When inheriting from DataGridColumn, to use the method it must be overriden to display null values in columns.
The following example shows a possible override of the EnterNullValue method.
[Visual Basic]
Overrides Sub EnterNullValue() ' Enter the NullText value into a hosted TextBox control. TextBox.Text = NullText End Sub
DataGridColumn Class | DataGridColumn Members | System.WinForms Namespace | NullText