I want to implement something exactly like \"Changing the Default Text in the Search Box\" for a WPF search TextBox. The box should show some greyed out \"Search..\" text wh
You could transform the textbox to have gray text whenever its empty and a variable that would tell you that is empty, so that when you clicked Search it would not go searching for "Search..."
Or you could use something similar to what you are saying, but instead of a textbox above you could have text below. If on top you have a textbox with transparent background and on the bottom you have a label that has "Search" when the top textbox is empty that should solve the problem.