Tab

CheckBoxProperties.ValueType Property

Gets the data type of the editor's values.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

[DefaultValue(typeof(bool))]
public Type ValueType { get; set; }
<DefaultValue(GetType(Boolean))>
Public Property ValueType As Type

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