共用方式為


BuildingBlockGalleryContentControl.ShowingPlaceholderText Property

Gets a value that indicates whether the BuildingBlockGalleryContentControl 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 BuildingBlockGalleryContentControl is currently displaying placeholder text; otherwise, false.

Remarks

The placeholder text is displayed until the text in the BuildingBlockGalleryContentControl 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

BuildingBlockGalleryContentControl Interface

Microsoft.Office.Tools.Word Namespace