Forums     Knowledge Base     OfficeWriter Online     
 
This documentation is for
OfficeWriter v3.0.4
.NET Platform

View Docs for Another
Version or Platform

Programmer's Reference > ExcelApplication API > Style > CellLocked

CellLocked Property


C# Signature:

VB.NET Signature:


Description:

Sets or returns whether a cell will be locked in a protected worksheet.

CellLocked is a read / write property.



Examples:

[csharp]
// Get CellLocked
bool locked = style.CellLocked;

// Set CellLocked
style.CellLocked = true;
[vbnet]
' Get CellLocked
Dim locked As Boolean = style.CellLocked

' Set CellLocked
style.CellLocked = True
[vbnet]


Getter

Signature:

public boolean CellLocked

Returns:

boolean If true, the cell cannot be modified if the worksheet is protected.

Setter

Signature:

public void CellLocked boolean locked

Type:

boolean



Copyright 2005 © SoftArtisans, Inc. All Rights Reserved.