PlainTextContentControl.ShowingPlaceholderText Property (2007 System)
Gets a value that specifies whether the PlainTextContentControl is currently displaying placeholder text.
Namespace: Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)
Syntax
'Declaration
Public ReadOnly Property ShowingPlaceholderText As Boolean
'Usage
Dim instance As PlainTextContentControl
Dim value As Boolean
value = instance.ShowingPlaceholderText
public bool ShowingPlaceholderText { get; }
public:
property bool ShowingPlaceholderText {
bool get ();
}
public function get ShowingPlaceholderText () : boolean
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
- 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.