Property Lock
- Namespace
- DocWright.Dom.ContentControls
- Assembly
- DocWright.Dom.dll
Lock
Gets or sets the raw ST_Lock token (w:lock), or null. Word writes
sdtContentLocked, sdtLocked, contentLocked or unlocked.
This is a description of the control, not an enforced restriction — see DocumentProtection.
public string? Lock { get; set; }
Property Value
Exceptions
- ContentControlEditException
The preserved markup could not be rewritten.