.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

CellValue.IsBoolean Property

Gets whether the cell contains a Boolean value.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v21.1.Core.dll


public bool IsBoolean { get; }

Property Value

Type Description

true, if the cell value is of the Boolean type; otherwise, false


You can also use the CellValue.Type property to obtain the cell value type. This property returns CellValueType.Boolean, if a cell value is Boolean.

To get the boolean value contained in a cell, use the CellValue.BooleanValue property. For more information on cell values, refer to the Cell Data Types document.

See Also