| StyleOnlyNumericValues Property |
Gets or sets whether the cell(s) contain only numeric values.
Namespace: Stingray.GridAssembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax [DefaultValueAttribute(false)]
public bool OnlyNumericValues { get; set; }
<DefaultValueAttribute(false)>
Public Property OnlyNumericValues As Boolean
Get
Set
public:
[DefaultValueAttribute(false)]
property bool OnlyNumericValues {
bool get ();
void set (bool value);
}
Property Value
Type:
Boolean
Whether (
true) or not (
false) the cell(s) are
meant to store only numerical values.
Remarks
This property is included only as a convenience. In virtual,
or browser grids, this property can be set to true to indicate
that the values in a particular column or range will always be
numeric. This property, however, does not enforce any data
validation or checking for numeric values. In grids that are
not read-only, users will be able to enter non-numeric values
without error.
See Also