Skip to content

API reference / Common / Engine types / TextPlaceholder

Interface: TextPlaceholder ​

What span markup holds where it has no content of its own, so it goes on existing: a container is the units it holds, and one that held none would be gone. Word's emptied content control is the model, holding its placeholder text where it has no value.

One unit, carrying the character properties of the content it stands for, which what is written in its stead takes. It shows its markup's prompt, greyed: a content control's shown_prompt, a custom XML element's placeholder, and a binding place's binding's in a template, and nothing in an instance, since an empty value reads as nothing. The markup's next content replaces it. See the Text Model design doc.

Properties ​

PropertyDescription
properties
TextCharacterProperties
What the content it stands for paints in.