Include a Button in a TextBox

前端 未结 3 659
刺人心
刺人心 2021-02-09 19:54

I want to add a little Button, which removes all the text in the TextBox. Is it possible to put this \"Remove\"-Button into the TextBox (like i

3条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-09 20:18

    You can easily derive from textbox and create your own textbox with the functionality you want.That is the flexibility that wpf provides.See the link below

    http://davidowens.wordpress.com/2009/02/18/wpf-search-text-box/

提交回复
热议问题