WP7 color picker - silverlight

Is there any color picker control for windows phone 7?
I know ColorPicker from Silverlight Contrib, but is it usable or have some sort of downside to use it on WP7?
regards,
Stefano

I'm not aware of any color picker controls for WP7. The control from the Silverlight Contrib project should work if you compile the source code into a WP7 project. However, you need to take into consideration the touch-based user experience and that the recommended minimum touch point surface is 7mm square. Perhaps a ListPicker or LongListSelector based approach with pre-defined colors would be more suitable.

Check out application of List Picker for this purpose as outlined by David Anson here.
ListPicker? I hardly even know 'er! [A detailed overview of the Windows Phone Toolkit's ListPicker control] - Delay's Blog
I also understand ColorPicker from the Silverlight Contrib is fine for use on WP7 (refer James Ashley's comments).

Related

How can I make a stack panel with a transparent background and blur effect in WPF without an image?

I have only found solutions to this question that work with images, but I want to be able to overlook a stack panel with this "effect", for example. I actually want it to look something like the one in Windows, for example, like here:
so that you can see a slight transparency in the background.
This kind of translucent texture is called Acrylic and is a Fluent Design System component on Windows 10.
If you want to bring this kind of brush to your app, I would recommend you to look into using the WinUI library. This is the modern and native user experience (UX) framework for Windows desktop applications going forward.
WinUI 2.x controls be used WPF applications using XAML Islands.
WinUI 3 is the next version of WinUI that includes a full native UI platform that can be used on top of the latest version of .NET and be seen as a replacement for WPF and WinForms GUIs.
There is no native support for Acrylic in WPF.

is there a working color picker control in Windows Phone 7?

I need a color picker control in my Windows Phone 7 project. I've tried the controls in Silverlight Contrib but I cannot make it work in WP7 project. There is even a discussion with the same question but there's no replies. How can I use the control? Or is there a substitute I can use?
Depending on how many colors you need, then this blog provides a page like the "Accent" one in settings - http://blogs.msdn.com/b/priozersk/archive/2010/09/17/customizing-picker-box-dialog.aspx
While not a pre-built control, per se, Petzold has a pretty good write-up on using Items controls and uses colors as one of his main examples.
You can find these in Programming Windows Phone 7, Chapter 17, sections 2, 3 and 4.
I would recommend the RadPickerBox from telerik. Its works well and can probably accomplish what your trying to do. I think right now there actually giving a free license for the first 500 developers or something. I've already used it and had no issues.
But if you don't want to go commercial ^^^Stuart's source is pretty good.

Is there a document highlighting WPF and Silverlight controls available in the framework?

I'm looking for something like a pdf or anything else that would show a chart of available controls in SL and/or WPF.
Ideally, the chart should have a drawing of the control, some succinct description and the hierarchy if possible.
Has anyone seen such a thing? Freeware or Payware, can even be from a book I could buy.
The following MSDN link lists the controls within the Silverlight SDK:
http://msdn.microsoft.com/en-us/library/cc189048(VS.95).aspx
You can try the sdk controls live following this link:
http://samples.msdn.microsoft.com/Silverlight/SampleBrowser/#/?sref=HomePage
The controls within the Silverlight Toolkit can be found here:
http://silverlight.codeplex.com/
Also, there are plenty of third party controls for Silverlight. The following link contains a list to some of them (free or not):
http://timheuer.com/blog/archive/2009/01/28/comprehensive-list-of-silverlight-controls.aspx
The controls that are shipped with the platform are fairly straightforward, so I'm not sure that would even make sense - i.e. the basic buttons, input box, text block, etc.
As for the controls that are shipped with the Toolkit, which is the richer feature set released out of band in relation to the Silverlight trunk, you can preview everything you asked for here:
http://www.silverlight.net/content/samples/sl4/toolkitcontrolsamples/run/default.html
What's more, the source code for the preview is included with the tool kit so it's very easy to see how any of those controls were used.

Are there good WPF control libraries out there?

Do you know any good WPF control library (even commercial) and what experiences have you made with them?
Telerik has a commercial line of WPF controls, as well as WinForms, and Silverlight. They are very high quality, and on the high end in terms of $$$, but they're worth their weight in gold if you're going to utilize them.
I've used their web products and they are well made. They even have sample code on their site and demos so you can get started easily.
Odyssey is a nice set of controls with a Ribbon menu control and Outlook-style bars.
You may have problems using them in XBAP applications though.
DevExpress have a rich set as well.
Infragistics has some excellent WPF and WinForm controls (commercial). I'll admit I have only used their WinForm controls, but if their WPF controls are anything similar, they will be great.

Textbox with a popup in Silverlight

I'd like to build an own control, but therefore I need to know if its possible to combine a Textbox event with a Popup more or less like the Datepicker Control.
Or is there a better way to do this than with a Popup?
Greets
Patrick
Sure you could do this. In fact look at the DatePicker as an example of how you might do that. I'd imagine your control would be a composite of TextBox, Button and Popup controls.
You can download the complete source to the Silverlight Toolkit from the CodePlex Silverlight Toolkit project site.
And you can get the source and unit tests for the Beta 2 Release 1 controls at Shawn Burke's blog.
Neither of these may be exactly what you're looking for, but they might get you on the right track.

Resources