共用方式為


DatePickerContentControl.ShowingPlaceholderText Property

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

Remarks

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

DatePickerContentControl Interface

Microsoft.Office.Tools.Word Namespace