Partager via


ContentControl.ShowingPlaceholderText Property

Definition

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

Remarks

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