views:

3237

answers:

8

Could you suggest a source for xaml toolbar icons (new, open, save, print)?

A: 

From what I can tell IconExperience does not provide neither vector or xaml based versions of their icons. I am looking for icons created in xaml that I can use in a WPF application.

Kerry Jenkins
For future reference you should post this as a comment to @Jason. The posts are going to get separated if any votes are made and it gets confusing when browsing the question later.
Bryan Anderson
You are right, I read it quickly... and I thought you wrote XLAM (used for an Excel ribbon)... I deleted my answer. ;)
Jason
+2  A: 

You usually don't want to use vectorized icons for toolbar items - it will slow down rendering and they are almost always the same size. Just use a PNG file and make sure that SnapsToDevicePixels is set so they aren't blurry.

Paul Betts
The one caveat being if you need the icons to scale to many different sizes. In that case vector graphics usually look better.
Bryan Anderson
They're almost always the same size - except when the user changes the DPI setting (including this "Make everything larger" helper button in Vista) - and then they all get large, and bitmap ones get blurry and look awful.
Pavel Minaev
You can avoid the performance hit by using one of the brush- or visual-level caching mechanisms in WPF. You will consume more video memory, though it shouldn't be any worse than if you were simply using raster images.
Mike Strobel
I would like to add that with more people using their living-room TV as a media center display that settings higher than the default DPI are becoming more common. It's particularly irritating when applications either do not handle this properly or look bury when viewed on these displays. I think the time has come for vectorized graphics for common icon usage, besides a raster version can always be created on the fly when using vector graphics but the inverse is not true at least not with out lossiness.
jpierson
@Pavel Well if they're using the "Make Everything Larger" button, they have bad vision anyways so they won't mind :)
Paul Betts
+3  A: 

I've had problems with my PNG's still being blurry after setting SnapsToDevicePixels.

I found a set of 35 free vista style vector icons at http://www.grafile.com/download/vista_toolbar_xaml.zip via http://rrelyea.spaces.live.com/blog/cns!167AD7A5AB58D5FE!1728.entry

I haven't tried them yet, but it is worth posting about.

viggity
The link to the zip is dead :(
Sam
+1  A: 

If you continue to have problems when using small pngs in wpf check out this post by Hanselman.

Also - If you are using 16x16 pngs, instead of using PNGOUT you can simply set the following options on your image inside your buttons:

Stretch="Uniform" SnapsToDevicePixels="True" Height="16" Width="16"

Leaving any one of these out on any of your images can cause the whole toolbar to render blurry.

viggity
+1  A: 

ArtistsValley.com has a good collection of XAML icons. Take look at them here http://www.artistsvalley.com

Josh
A: 

Hi, just added on the site http://www.xamltemplates.net/ a set of icons which include DrawingImages, DrawingBrushes and also in png format from 256x256 to 16x16

A: 

Checkout these: http://www.infragistics.com/dotnet/netadvantage/icons.aspx#Overview

WooYek
These look pretty nice, thanks for the suggestion.
jpierson
+1  A: 

Recently came across a site dedicated for XAML icons and that too free.

http://www.xamalot.com/

What is Xamalot? Xamalot.com is a provider of clipart and other XAML resources (and most of our art is also available in other formats, such as PNG or SVG).

akjoshi