halley73

Hi,

how can i realize a textbox like the find textbox of Vista that display Find when no text is present

There's a nulltext property for this

Thank's, Luca



Re: Windows Presentation Foundation (WPF) Find TextBox

Frances83

I think what you're looking for is the InfoTextBox which you can find in Kevin's Bag-O-Tricks:

http://wpf.netfx3.com/files/folders/controls/entry10297.aspx


Copy, modify and enjoy Smile





Re: Windows Presentation Foundation (WPF) Find TextBox

LesterLobo - MSFT

you can style the box such that when it gets keyboard focus the "Find" text is removed.

also as previously mentions Kevins bag of tricks has some codeon it