Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / Column Class / NullText Property


In This Topic
    NullText Property (Column)
    In This Topic
    Gets or sets the text that is displayed when one of the column's cells 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 Column
    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 one of the column's cells contains a null reference (Nothing in Visual Basic).
    Remarks

    By default, this property is set to System.String.Empty.

    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