# Control Object Properties

ShowLocked | Control Color of Locked Cells

## 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$ and 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