ContentControl.ShowingPlaceholderText Property
Gets a value that specifies whether the ContentControl 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 ContentControl is currently displaying placeholder text; otherwise, false.
Remarks
The placeholder text is displayed until the text in the ContentControl 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.