dotnet / wpf

WPF is a .NET Core UI framework for building Windows desktop applications.
MIT License
7.07k stars 1.17k forks source link

Is WPF going to die? Why TextBox still has not placeholder/watermark? #4345

Open GF-Huang opened 3 years ago

GF-Huang commented 3 years ago

Such a basic feature, after all these years, has still not been added to WPF.

lindexi commented 3 years ago

@GF-Huang Do not do that. This repository is a WPF framework, which is a low-level framework. This repo should only provide a basic framework, not too much business logic and business controls. You can use other professional WPF control libraries to get more customized controls, such as your watermark.

See

GF-Huang commented 3 years ago

Oh, it turns out that WPF is just an engine, not a car.

Symbai commented 3 years ago

Do not do that. This repository is a WPF framework, which is a low-level framework. This repo should only provide a basic framework, not too much business logic and business controls. You can use other professional WPF control libraries to get more customized controls, such as your watermark.

First this is a dupe of #1127 and second your statement is not a good argument, as Winforms "recently" (after being open sourced) added this and winforms is older than WPF and Winforms team didn't told everyone to use professional Winforms control libraries. That means its a basic feature and should get supported natively. Again, see #1127

wstaelens commented 3 years ago

Do not do that. This repository is a WPF framework, which is a low-level framework. This repo should only provide a basic framework, not too much business logic and business controls. You can use other professional WPF control libraries to get more customized controls, such as your watermark.

First this is a dupe of #1127 and second your statement is not a good argument, as Winforms "recently" (after being open sourced) added this and winforms is older than WPF and Winforms team didn't told everyone to use professional Winforms control libraries. That means its a basic feature and should get supported natively. Again, see #1127

I agree Symbai. After all these years we were being pushed away from winforms. Now we are at WPF and years later the team still doesn't do a thing. We are being pushed to V4 drivers with XPS and are smashing our heads against the walls because of performance issues at enterprises because of XPS(yeah WPF) STA issues. And the team just basically tells us "low priority, not fancy enough for the 18year old tiktok iphone generation". ( #3546 #4000 )

We only see them trying to move us to something else, which is even more broken and alpha/beta/whatever status: MAUI. (see #4650 )

GF-Huang commented 3 years ago

They just don't want to admit this fact and find a decent excuse to fool you. They should rename WPF to WPLF (Windows Presentation Low Level Framework).

mjeson commented 1 year ago

@GF-Huang I found this textbox with bindable placeholder. May fit your need.

https://github.com/GuOrg/Gu.Wpf.Adorners