PlaceholderText property not found on MaskedTextBox...why?

Editors for WPF Forum

Posted 4 years 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 4 years 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 (v24.1.2) was released 1 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.