开发者

Custom Control for Painter application to show different erasers

开发者 https://www.devze.com 2023-03-16 00:44 出处:网络
I am creating paint like application using WPF. Now i need to create control which can be used to display eraser but it sh开发者_如何学编程ould be like adobe photoshop\'s eraser control where three di

I am creating paint like application using WPF. Now i need to create control which can be used to display eraser but it sh开发者_如何学编程ould be like adobe photoshop's eraser control where three different types of eraser small , medium and large are in one control , it have overflow mechanism like toolbar .

I need to create custom control (may be custom button) which will have little arrow which will allow me to see types of eraser and allows me selection. for reference check eraser control in ONE note application.


Have you considered templating the drop down menu button?

Here are a couple of examples to get you started:

http://anothersplitbutton.codeplex.com/

http://blogs.msdn.com/b/llobo/archive/2006/10/25/split-button-in-wpf.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消