Gu.Wpf.Adorners icon indicating copy to clipboard operation
Gu.Wpf.Adorners copied to clipboard

Hide watermark if control IsEnabled=false

Open aplocher opened this issue 5 years ago • 1 comments

It would be great if there was a way to set the Watermark to hidden if the control has InEnabled=False.

A couple options would be to enable a public setter on Watermark.IsVisible so it could be bound separately. Or add options to the VisibleWhen enum.

Thanks

aplocher avatar Feb 20 '20 20:02 aplocher

Ah, this is a very reasonable use case, not good that we don't have something straightforward for it.

JohanLarsson avatar Feb 20 '20 21:02 JohanLarsson