---
title: "Layer..::.Locked Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WinControls_Layer_Locked.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# Layer.Locked Property 
 
Indicates if the layer has been locked.
 
**Namespace:** [Aurigma.GraphicsMill.WinControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.WinControls.VectorObjects (in Aurigma.GraphicsMill.WinControls.VectorObjects.dll)
 
## Syntax
  
```
Public Property Locked As Boolean
```
 
```csharp
public bool Locked { get; set; }
```
 
### Property Value
Value indicating if the layer has been locked.
 
## Remarks
  
When the layer is locked, no its v-objects can be modified as well as added or removed.
   
## See Also

### Reference

- [Layer Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_Layer.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)

### Manual

- [How to Use Vector Objects](https://www.graphicsmill.com/docs/gm5/HowToUseVectorObjects.htm.md)
