Skip to main content
Tab

CheckBoxProperties.ValueType Property

Gets the data type of the editor’s values.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(typeof(bool))]
public Type ValueType { get; set; }

Property Value

Type Default Description
Type bool

A Type object that represents the type of values.

Remarks

The ValueType property’s value affects the data type used to specify the CheckBoxProperties.ValueChecked, CheckBoxProperties.ValueUnchecked, and CheckBoxProperties.ValueGrayed properties.

The ValueType property supports the following values.

  • System.Boolean
  • System.Int16
  • System.Int32
  • System.String
  • System.Double
  • System.Decimal
  • System.DateTime
  • System.Char
  • System.Byte

Note

  • The ValueType property synchronizes its value with the editor’s ASPxCheckBox.ValueType property.
  • The ValueType property is not in effect for the radio button.
See Also