ContentControl.ShowingPlaceholderText Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.