# ShowLocked: Control Color of Locked Cells

> Source: https://manual.pvxplus.com/properties/showlocked

## Description

Control color of locked cells

This property applies to the ***entire*** grid and controls the color of locked cells.

When set to 1 ***(Default)***, locked cells are shown with a gray background. Setting this property to 0 (zero) does not change the color of locked cells. This allows background colors to be set on alternating lines in a grid (see **[BackHilight1$](https://manual.pvxplus.com/properties/backhilight1)** and **[BackHilight2$](https://manual.pvxplus.com/properties/backhilight2)**), regardless if cells are locked.

*(The ShowLocked property was added in PxPlus 2019.)*

## Default

1 - Locked cells are shown with a gray background

## Used By

**GRID**
