Xceed Grid for WinForms v4.3 Documentation
NullText Property (Cell)


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > Cell Class : NullText Property
Gets or sets the text that is displayed when the cell contains a null reference (Nothing in Visual Basic).
Syntax
'Declaration
 
<DescriptionAttribute("The text that is displayed when the cell contains a null reference.")>
<CategoryAttribute("Appearance")>
<AmbientValueAttribute("")>
<LocalizableAttribute(True)>
<ApplyToDesignerAttribute(False)>
Public Property NullText As String
'Usage
 
Dim instance As Cell
Dim value As String
 
instance.NullText = value
 
value = instance.NullText
[Description("The text that is displayed when the cell contains a null reference.")]
[Category("Appearance")]
[AmbientValue("")]
[Localizable(true)]
[ApplyToDesigner(false)]
public string NullText {get; set;}

Property Value

A string value representing the text that is displayed when the cell contains a null reference (Nothing in Visual Basic).
Remarks

If the IsNullTextAmbient property returns true, then the value of the NullText property is inherited from its parent.

To reset the value of the NullText property to its default value, DefaultNullText, the ResetNullText method must be called or the NullText property set to a null reference (Nothing in Visual Basic).

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

Cell Class
Cell Members