This post originated from an RSS feed registered with .NET Buzz
by Frank Hileman.
Original Post: Preview of 3D Knob Controls in VG.net
Feed Title: Frank Hileman's Blog
Feed URL: http://weblogs.asp.net/frank_hileman/rss?containerid=13
Feed Description: Vector Graphics with VG.net, MyXaml, and Visual Studio Integration
Here is a preview of some 3D knob “Controls” in VG.net. They are not true Controls -- they are VG.net Pictures, which are lighter weight and more flexible than Controls. They can be reused as Sub Pictures in other Pictures, or they can easily be placed in a windows forms Control and reused in that fashion.
Because the colors are all controlled by Styles, you can change a single Style and modify the overall color in one operation:
For user interaction, these knobs make use of a new VG.net function on each Element, CaptureMouse. In this way, you can capture mouse events the same way you would capture them for a windows forms slider control. This function is in the new VG.net release, scheduled to be out this week. The knob controls will be released a little later.