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

Protection.Hidden Property

Gets or sets whether the cell formula is hidden if the worksheet is protected.

Namespace: DevExpress.Spreadsheet

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

Declaration

bool Hidden { get; set; }

Property Value

Type Description
Boolean

true, to hide formula in a protected sheet; otherwise, false.

Remarks

The following code hides formulas in the C3 cell of the currently active worksheet when the sheet becomes protected:

spreadsheetControl1.ActiveWorksheet.Cells[2,2].Protection.Hidden = true;
See Also