Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the text that is displayed in the ContentControl until the text is changed by a user action or some other operation.
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 PlaceholderText As BuildingBlock
'Usage
Dim instance As ContentControl
Dim value As BuildingBlock
value = instance.PlaceholderText
public BuildingBlock PlaceholderText { get; }
public:
property BuildingBlock^ PlaceholderText {
BuildingBlock^ get ();
}
public function get PlaceholderText () : BuildingBlock
Property Value
Type: BuildingBlock
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.
.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.