需要 WPF 渐变选择器的示例

发布于 2024-08-06 01:36:16 字数 194 浏览 5 评论 0原文

我正在寻找 WPF 渐变选择器示例和源代码。

目标是允许 WPF 应用程序的用户选择用于背景或前景的渐变画笔。我在 Blend(对于普通用户来说太混乱)和 Photo Shop 中见过选择器。我正在寻找与作为 WPF 对话框实现的 Photo Shop 选择器类似的 WPF 实现。

任何指向好的例子的指示都非常感谢。

谢谢。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

妞丶爷亲个 2024-08-13 01:36:16

在 CodeProject 上找到了它:.Net Protoshop 式渐变选择器。享受 ;)

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

玉环 2024-08-13 01:36:16

随机渐变壁纸生成器。我能找到的最接近的东西...不幸的是它只有四个可能的梯度停止点,每个角都有一个...也许值得查看代码,并获得一些提示...

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...

醉态萌生 2024-08-13 01:36:16

就自定义控件而言,这似乎很容易编码。

只需要一个可以更改背景的画布,以及一些其他用于更改颜色和停止点的控件。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文