Style.IsLocked

Style.IsLocked property

Gets or sets a value indicating whether a cell can be modified or not.

public bool IsLocked { get; set; }

Remarks

Locking cells has no effect unless the worksheet is protected.

See Also