Compartilhar via


ContentControl.PlaceholderText Property

Definition

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.

Applies to