Table of Contents

Enum DocxFormKey

Namespace
DocToolkit
Assembly
DocToolkit.Docx.dll

Which name identifies a content control.

public enum DocxFormKey

Fields

Alias = 2

The alias only.

AliasThenTag = 3

The alias, falling back to the tag.

Tag = 1

The tag only.

TagThenAlias = 0

The tag, falling back to the alias. The default, because it works either way.

Remarks

A control carries both a tag (a machine name) and an alias (what Word shows in its UI). Measured 2026-08-26, the two return genuinely different keys for the same document — FullName against Full name — which is why this is a parameter rather than a fixed choice.