GrapeCity.Win.MultiRow Namespace > HeaderCell Class : Value Property |
<TypeConverterAttribute("GrapeCity.Win.MultiRow.Design.CellValueTypeConverter, GrapeCity.Win.MultiRow, Version=7.20.20141.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9")> <SRDescriptionAttribute("Indicates the value of the Cell.")> <LocalizableAttribute(True)> <RefreshPropertiesAttribute(RefreshProperties.All)> <SRCategoryAttribute("Data")> Public Shadows Property Value As Object
Dim instance As HeaderCell Dim value As Object instance.Value = value value = instance.Value
[TypeConverter("GrapeCity.Win.MultiRow.Design.CellValueTypeConverter, GrapeCity.Win.MultiRow, Version=7.20.20141.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9")] [SRDescription("Indicates the value of the Cell.")] [Localizable(true)] [RefreshProperties(RefreshProperties.All)] [SRCategory("Data")] public new object Value {get; set;}
When you assign a different value to a cell, the CellValueChanged event of the GcMultiRow control is raised.
The Value property is the actual data object contained by the cell, whereas the FormattedValue property is the formatted representation of the data. The ValueType and FormattedValueType properties correspond to the data types of these values, respectively.
When you set the Value property, the specified value is not automatically converted from a formatted, display value to an underlying cell value. For example, the CellStyle in effect for the cell is ignored, so setting Value to NullValue does not result in a property value of DataSourceNullValue.
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