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


In This Topic
    NullValue Property (Column)
    In This Topic
    Gets or sets the a null reference (Nothing in Visual Basic) value of the column.
    Syntax
    'Declaration
     
    <DescriptionAttribute("The null (Nothing in Visual Basic) value of the column.")>
    <CategoryAttribute("Behavior")>
    <ApplyToDesignerAttribute(False)>
    <BrowsableAttribute(False)>
    <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
    Public Property NullValue As Object
    'Usage
     
    Dim instance As Column
    Dim value As Object
     
    instance.NullValue = value
     
    value = instance.NullValue
    [Description("The null (Nothing in Visual Basic) value of the column.")]
    [Category("Behavior")]
    [ApplyToDesigner(false)]
    [Browsable(false)]
    [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
    public object NullValue {get; set;}

    Property Value

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

    If NullValue is assigned to the Value property of one of the column's cells, NullText will be displayed in the cell 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