Skip to content

API reference / Common / Engine types / ContentControlLock

Type Alias: ContentControlLock ​

ts
type ContentControlLock = "unlocked" | "controlLocked" | "contentLocked" | "both";

w:lock (ST_Lock) — what a control protects.

The schema's two middle values read backwards the first several times — sdtLocked locks the control while leaving its content editable, and contentLocked the reverse — so each variant here is named for what it protects rather than for the token it came from.