GrapeCity MultiRow Windows Forms Documentation
ValueType Property


Gets or sets the type of Value associated with the cell.
Syntax
<DefaultValueAttribute()>
<BrowsableAttribute(False)>
Public Overridable Property ValueType As Type
Dim instance As Cell
Dim value As Type
 
instance.ValueType = value
 
value = instance.ValueType
[DefaultValue()]
[Browsable(false)]
public virtual Type ValueType {get; set;}

Property Value

A System.Type value that represents the data type of the Cell's value. The default is System.Object.
Remarks

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.

Typically the default value of this property is a System.Object type. If the owner GcMultiRow is in data binding mode and the Cell's DataField property is valid in the data source, this property is initialized to the type of the data column's property type.

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

 

 


Copyright © GrapeCity, inc. All rights reserved.