Skip to main content

SdtLock

The lock type of the content control.

Type

Enumeration

Values

  • "unlocked"
  • "contentLocked"
  • "sdtContentLocked"
  • "sdtLocked"

Example

This example set the "sdtContentLocked" lock to the current inline text content control which means that the content cannot be edited and the container cannot be deleted.

inlineLvlSdt.SetLock("sdtContentLocked");