共用方式為


PlainTextContentControl.ShowingPlaceholderText Property

Definition

Gets a value that specifies whether the PlainTextContentControl is currently displaying placeholder text.

public:
 property bool ShowingPlaceholderText { bool get(); };
public bool ShowingPlaceholderText { get; }
member this.ShowingPlaceholderText : bool
Public ReadOnly Property ShowingPlaceholderText As Boolean

Property Value

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.

Applies to