xaml icons

2010-03-08 Thread Vishwanath Humpy
Does anyone know of any good free or paid resource for xaml icons?nbsp; I can do them myself but I'm a bit slow and don't have a graphics designer by my side. I know there are plenty of converters, as well documented here, but you do need something to convert :

RE: xaml icons

2010-03-08 Thread John OBrien
Icons are really time consuming for a graphic designer, I like this site: http://www.iconfinder.net as it has good quality free icons with a filter to show the ones allowed for commercial use. Even an API in there J I started out thinking everything in Silverlight should be vector based XAML

Re: xaml icons

2010-03-08 Thread Stephen Price
I've done Xaml icons in the past. I break out Expression Design and then cut and paste them into Blend to get xaml versions. Embrace your inner Devigner. Don't resist it, or be ashamed. We're a rare breed. We're the bridge between those who design but shall not code and those coders with UI

RE: xaml icons

2010-03-08 Thread Carl . Scarlett
Don't get me wrong; I love being a devigner and wouldn't have it any other way. I -do- hate the word devigner though. It makes us sound like a geeky zealot or something. Carl. From: ozsilverlight-boun...@ozsilverlight.com [mailto:ozsilverlight-boun...@ozsilverlight.com] On Behalf Of

Re: xaml icons

2010-03-08 Thread Stephen Price
Fair enough. :) Coin a better one then? It's actually not too bad, if you consider the alternative of Deseloper. Perhaps there's a more accurate word that's not a hybrid of two others. I find most people have both design and develop skills but sit in different spots along the Designer to

Button in a datagrid cell

2010-03-08 Thread Stephen Price
Hey all, I'm writing a unit test (MS's Silverlight Unit Test framework) and am wanting to simulate pressing a button by using ToggleButtonAutomationPeer. I've no problems with the code one I have the instance of the button, but I'm having problems figuring out how to get a particular button from

Re: xaml icons

2010-03-08 Thread Joseph Cooney
openclipart.org has some good images in SVG format which you can convert to xaml. The images are a bit hit and miss, some are great, some not so much. Joseph On Tue, Mar 9, 2010 at 10:55 AM, Vishwanath Humpy vhu...@rediffmail.comwrote: Does anyone know of any good free or paid resource for

Re: Button in a datagrid cell

2010-03-08 Thread Miguel Madero
Something useful is to do Linq Queries. from b in element.GetChildrenButton where b.Name == 'someName' b.Tag = myExpectedValue select b You could even restrict it a bit, to discard other buttons in other places (like toggle buttons in the header). from r in dg.GetChildrenDataGridRow() from c

RE: xaml icons

2010-03-08 Thread Shane Morris (Automatic Studio)
While being able to scale vector icons might seem like an advantage, in my experience if you plan to use icons at various sizes it is hard to produce one icon that has the right level of detail to look right at various sizes. Therefore, whether vector or bitmap, chances are you'll be designing

Re: Button in a datagrid cell

2010-03-08 Thread Miguel Madero
With the class that I send you you can use the Extension method GetChildren (for UIElements), use the recursive overload to find a ToggleButton, it should look something like datagrid.GetChildrenToggleButton(true); This will return an IEnumerable of all the ToggleButtons in the DataGrid. This

RE: xaml icons

2010-03-08 Thread John OBrien
We ran into trouble with animated xaml icons, we were using hundreds of these on a map and it did consume some CPU. We switched to Jose's sprite method using a series of frames as a single png image with great results. If anyone is interested I made it into a reusable control:

RE: xaml icons

2010-03-08 Thread Scott Barnes
Having Icons in pure vector 100% of the time is an awful waste of CPU :) no matter how big/small they are in density. You should consider using caching them as bitmap at runtime per state you keep them firstly failing that convert them to pure bitmap (PNG/JPG) could also work as well, if you

RE: xaml icons

2010-03-08 Thread Carl . Scarlett
Expression Design's export to Photoshop PSD is awesome too. I've been able to knock up vector images in Design, export to Photoshop, tweak and save in ico/jpg with great success. Expression rocks. Carl. From: ozsilverlight-boun...@ozsilverlight.com

RE: xaml icons

2010-03-08 Thread John OBrien
That is a really good point Scott, my prototypes are out of date as they were back in Silverlight2 pre-bitmap caching. I bet they would perform significantly better now. Not sure how useful jpg icons are unless you plan on knowing the exact colour/gradient of the background in advance. From:

RE: xaml icons

2010-03-08 Thread Jordan Knight
Agree, Go for the resource that you can get easily - Icon libs rock anyways... how many hours can you waste looking through awesome icons when you should be writing code... I've crapped hundreds of hours away :) From: ozsilverlight-boun...@ozsilverlight.com

Re: Button in a datagrid cell

2010-03-08 Thread Stephen Price
Strange, Not getting a DataGridRowsPresenter or any children from the datagrid in the unit test. I think I need to look at what data is in it, and somehow mock it (so it's still a unit test and not an integration test). The viewmodel data object its binding to is pretty complicated. I just want

Re: RE: xaml icons

2010-03-08 Thread Vishwanath Humpy
Lots of great advice.nbsp; I don't think I will contemplate doing icons as xaml any longer for the variety of reasons mentioned. I am curious though.nbsp; When it comes to the performance issue, what is the difference between the rest of my xaml UI and the icons?nbsp; Is it the case that

RE: RE: xaml icons

2010-03-08 Thread Scott Barnes
From memory the new text rendering engine makes use of the OS level to help render that out visually (i think it actually uses clear type or a subset of it anyway). When you do a process path approach, you're not using the text renderer at all and are essentially generating a vector shape that