ContentControl.PlaceholderText Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the text that is displayed in the ContentControl until the text is changed by a user action or some other operation.
public:
property Microsoft::Office::Interop::Word::BuildingBlock ^ PlaceholderText { Microsoft::Office::Interop::Word::BuildingBlock ^ get(); };
public Microsoft.Office.Interop.Word.BuildingBlock PlaceholderText { get; }
member this.PlaceholderText : Microsoft.Office.Interop.Word.BuildingBlock
Public ReadOnly Property PlaceholderText As BuildingBlock
Property Value
The text that is displayed in the control until the text is changed by a user action or some other operation.
Remarks
The placeholder text is displayed until a user edits the control, the control is populated with data from a data source, or the control's contents are deleted.
To set the placeholder text, use the SetPlaceholderText method.