PlaceholderText property not found on MaskedTextBox...why?

Editors for WPF Forum

The latest build of this product (v2019.1 build 0685) was released 4 months ago, which was before this thread was created.
Posted 3 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 3 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

Add Comment

Please log in to a validated account to post comments.