How to implement TextBox with PlaceHolder in WPF(rredcat.blogspot.com)
submitted by
RredCat(299) 2 years, 6 months ago
Using PlaceHolder is very useful thing for UI in any type application. I want to show a short way how can you implement it in WPF.
You can custom TextBox and add place-holder text on MouseEnter and remove on MouseLeave events. In this case place-holder's text looks like original text.. You can experiment with Foreground property, but truth me - you will not be satisfy.
Let my suggest other way.
|category: Windows Presentation Foundation
|Views: 215
tags:
WPF another
Everyones tags:
Your Tags: