GrapeCity MultiRow Windows Forms Documentation
NullValue Property


Gets or sets the displayed value for the cell whose Value is a null reference (Nothing in Visual Basic) or DBNull.Value or DataSourceNullValue.
Syntax
<SRCategoryAttribute("Data")>
<DefaultValueAttribute()>
<RefreshPropertiesAttribute(RefreshProperties.All)>
<SRDescriptionAttribute("Indicates the formatted value for the Cell whose Value is null or DBNull.Value or DataSourceNullValue.")>
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="GrapeCity.Win.MultiRow.Design.CellStyleNullValueTypeEditor, GrapeCity.Win.MultiRow, Version=7.20.20141.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9")>
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
<TypeConverterAttribute("GrapeCity.Win.MultiRow.Design.CellStyleNullValueTypeConverter, GrapeCity.Win.MultiRow, Version=7.20.20141.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9")>
Public Property NullValue As Object
Dim instance As CellStyle
Dim value As Object
 
instance.NullValue = value
 
value = instance.NullValue
[SRCategory("Data")]
[DefaultValue()]
[RefreshProperties(RefreshProperties.All)]
[SRDescription("Indicates the formatted value for the Cell whose Value is null or DBNull.Value or DataSourceNullValue.")]
[Editor(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="GrapeCity.Win.MultiRow.Design.CellStyleNullValueTypeEditor, GrapeCity.Win.MultiRow, Version=7.20.20141.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9")]
[EditorBrowsable(EditorBrowsableState.Advanced)]
[TypeConverter("GrapeCity.Win.MultiRow.Design.CellStyleNullValueTypeConverter, GrapeCity.Win.MultiRow, Version=7.20.20141.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9")]
public object NullValue {get; set;}

Property Value

A System.Object value that represents the displayed value for the cell whose Value is a null reference (Nothing in Visual Basic) or DBNull.Value or DataSourceNullValue. The default is 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

CellStyle Class
CellStyle Members

 

 


Copyright © GrapeCity, inc. All rights reserved.