RichTextContentControl.ShowingPlaceholderText Property
Gets a value that indicates whether the RichTextContentControl 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 RichTextContentControl is currently displaying placeholder text; otherwise, false.
Remarks
The placeholder text is displayed until the text in the RichTextContentControl 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.