PlaceholderText property not found on MaskedTextBox...why?

Editors for WPF Forum

Posted 6 months ago by Brad Salmon
Version: 19.1.0685
Avatar

According to the documentation, the MaskedTextBox derives from System.Windows.Controls.TextBox, which has a PlaceholderText property. However, when I try to set the PlaceholderText property on a MaskedTextBox it isn't found. Is there some other property or way to get this to work?

Comments (1)

Answer - Posted 6 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Brad,

I don't believe that the core WPF TextBox control has a PlaceholderText property.  The UWP TextBox control does though.

That being said, if you set our attached shared:HintProperties.Hint property on the WPF control, it should show a hint.


Actipro Software Support

The latest build of this product (v2020.1.0) was released 21 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.