2

I think this question goes more to all UI designers ;-)
I want to make a WPFelement that looks like a volume control knob on a hifi amplifier. To get a better expresion of what I am talking about take a look at this pic

Volume Control sample

I cut this out of the sw VirtualDJ.
The element should be turnable to left and right. When it is tured to the right the value should increase by 0.5f and by turning it to the left the value should decrese by 0.5f.

Why do I need such a thing? Currently I am working on a control sw for my Deneon AVR-4306 Amplifier and I was thinking that it would look pretty cool to use such a control to set the volume of the amplifier.

4

2 回答 2

6

由于您专门向 UI 设计师提出了这个问题......

为什么我需要这样的东西?[...] 我在想用这样的控件来设置放大器的音量看起来会很酷。

不管它看起来酷不酷,任何称职的 UI 设计师都会告诉你不要使用这样的控件,因为它几乎不可能使用,至少使用鼠标是不可能的(这在仅触摸屏的设备上可能没问题)。鼠标是线性指针设备;尝试用一个圆圈“转动”一个圆圈是一场噩梦。不要仅仅为了“看起来很酷”而对您的用户造成这种痛苦。

只需使用滑块。它们仍然足够酷,而且非常实用。

于 2012-02-12T12:59:23.130 回答
0

试试这个解决方案:在 WPF 中向鼠标旋转图形(如模拟表盘)

您可以使用自己的 ValueConverter 来转换 beetwen 角度和实际值。

于 2012-02-12T10:26:14.607 回答