How to implement TextBox with PlaceHolder in WPF(rredcat.blogspot.com)

submitted by RredCatRredCat(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.

add a comment |category: |Views: 215

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story