[]
Specifies the type of cell control applied to a range.
Cell controls are formatting attributes on a range that define interactive behavior such as checkboxes. Use Type to retrieve the control type for a given range.
public enum CellControlType
Public Enum CellControlType
IRange range = worksheet.Range["A1"];
range.Value = true;
range.CellControl.SetCheckbox();
CellControlType type = range.CellControl.Type;
| Name | Description |
|---|---|
| Checkbox | Indicates that the cell control is checkbox. |
| None | Default type of cell control. The cell control object on a range with no cell control formatting will return None as its type. |
| Unknown | Type associated with a future CellControl object for backward compatibility. |