Tuesday, December 11, 2007

Using Angle selector control of Blend in your application

If you have ever worked in Blend ,you would be familiar with the Angle selection control in blend.Sometimes this is refered as AngleSlider or in some other name.
But I think MSFT calls this as "RotationSpinner".(I got this name from a blend specific dll)

See this if you are still not able to identify the control.

This is a nice control which takes less space than slider and gives a great Visual appeal.Atleast once in a project time,you might thought of adding this control into your project :-)

Here an easy method to add this control into your project.I dont know whether MSFT allows this or not :-) .If Anybody have idea pls respond in comments.

  1. In your project add reference to "Microsoft.Expression.DesignSurface.dll".(Locate at C:\Program Files\Microsoft Expression\Blend 2 September Preview if you are using Sep preview)

  2. Select Asset library from toolbox and click on "CustomControls"

  3. Select "RotationSpinner" control and create its instance.

  4. Now you got the required control.Set its properties and go on..

No comments:

Post a Comment