1

I'm looking for a WPF Gradient Picker example and source code.

The goal is to allow the user of a WPF application to pick the gradient brush to use for a background or foreground. I've seen pickers in Blend (too confusing for a casual user) and Photo Shop. I'm looking for a WPF implementation of something along the line of the Photo Shop picker implemented as a WPF dialog box.

Any pointers to good examples much appreciated.

Thanks.

3 Answers 3

2

Found it, this one too on the CodeProject: .Net Protoshop-like gradient picker. Enjoy ;)

Sign up to request clarification or add additional context in comments.

Comments

2

Random gradient wallpaper generator. closest thing I could find... unfortunately it only has four possible gradient stops, one in each corner... worth looking at the code perhaps, and getting a few tips...

1 Comment

Thanks. This code may be something that can serve as a starting point.
0

It seems like something that would be pretty easy to code, in terms of a custom control.

Just have a canvas that you change the background of, with some other controls for changing the colour and the stop points.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.