NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DataGridColumn.EnterNullValue

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();

Remarks

The EnterNullValue has no default behavior. When inheriting from DataGridColumn, to use the method it must be overriden to display null values in columns.

Example [Visual Basic]

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

See Also

DataGridColumn Class | DataGridColumn Members | System.WinForms Namespace | NullText