Partilhar via


PlainTextContentControl.ShowingPlaceholderText Property

Gets a value that specifies whether the PlainTextContentControl is currently displaying placeholder text.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Syntax

'Declaration
ReadOnly Property ShowingPlaceholderText As Boolean
bool ShowingPlaceholderText { get; }

Property Value

Type: System.Boolean
true if the PlainTextContentControl is currently displaying placeholder text; otherwise, false.

Remarks

The placeholder text is displayed until the text in the PlainTextContentControl is changed by a user action or some other operation. To get or set the placeholder text, use the PlaceholderText property or the SetPlaceholderText method.

.NET Framework Security

See Also

Reference

PlainTextContentControl Interface

Microsoft.Office.Tools.Word Namespace