Windows save, open... icons as vector graphics? - wpf

For my application (WPF) I'd like to use the standard icons for save, open... However, I'm not aware of them being available as vector graphics? So, where can one get them, is it maybe possible to extract them from some DLL files or whatever? Thank you very much!

The icons that are included with Visual Studio 2008 are bitmap only, I haven't installed Visual Studio 2010 yet.
There's a package of nice free common toolbar icons in XAML format at: http://www.grafile.com/presentation/Vista_Toolbar_library.html (haven't used them myself yet).
You can find a lot of (usually not free) icons sets by googling "xaml icons", you can find even more if you google "vector icons" but those will usually won't be XAML

Consider using big size icons (eg. 256x256 or 128x128 pix) and wpf would scale them down nicely. Probably you wouldn't make your icons bigger than 128x128 px anyway.
Icons you can use:
Crystal Project

Related

Where to get large images for Ribbon control

I am trying to build a Ribbon control in WPF. I've downloaded the Visual Studio 2013 Image Library. It's got a lot of images but all the standard ones like Cut, Copy and Paste are only in 16x16 format.
Large ribbon images need to be 32x32 (or even up to 64x64 depending on device resolution, according to Microsoft).
I've found several articles on building a Ribbon control and they all seem to use the same icons. Does anyone know where I can find these icons?
It appears that, while Visual Studio includes a library of toolbar images that make it easier to have your own applications have a similar look and feel, Microsoft did not include a very rich set of images in the correct size for the Ribbon control.
So I guess that answer is that you either 1) Create your own, 2) Scavenge the images off the web, or 3) purchase a ready-made library of images with the correct sizes.

Using Expression Design to produce vector icons for WPF

I was toying with the idea of switching over to using XAML based icons instead of PNG-based icons, in a Visual Studio-based WPF project.
I can create reasonable and decent icons with Expression Design. but I don't get how the workflow from Expression Design to Visual Studio is supposed to work. I can export to a temporary file in WPF resource dictionary format, and then cut and paste into an actual resource dictionary in my project. I suppose. But that's getting really tedious.
How are you SUPPOSED to do this? (Export from Expression Design into a visual studio project).
fwiw, Expression Blend seems unusable for creating icons. It just doesn't play well with canvases. And Expression Design does have horrifying shortcomings and limitations. But I'd rather use a tool that's built to generate ARTWORK, rather than UI.
Is there a way to do this, and use use PACK URI's, since the project is currently heavily pack-uri based.
I think the piece I'm missing is there doesn't seem to be a standardized XAML format for image files.
Any tips appreciated.
Using Blend to create icons was always problem. I don't know how to make it simple but i could suggest a third party application for icons.. you can get it free here... It was Syncfusion's Metro studio where you get thousands of icons and you can export as well as png and xaml path... Its it a pre designed icons you can make use of it..

Making icon for a Windows Form: How to make it show up correctly?

OK, so I have built a Windows Form application. I now want an icon for it. So I use the Icon Editor built into Visual Studio 2012. Draw it all out to look nice and purdy. Once I am done, I have a .ico file and I make it the default icon for the project, and also the icon for the one WinForm in the application.
Unfortunately, it does not show up as I have created it! It is displayed as the default icon file as it existed before I modified it in the icon editor. It's a 32x32 4 bit icon. If I change the extension to .bmp it shows up as the default.
It looks like the VS icon editor is editing something else, not the appearance of the icon. Can someone tell me what I am doing wrong?
I used to have a progam called IconArt that would create icons that looked like icons when I used them in VS. IconArt is now abandonware and won't run on my 64bit Windows workstation.
Since I didn't get any answers within the time I was hoping, I posted this question also in the MSDN Visual Studio forum, and got a good answer that I thought I should post here. Credit to Reed Copsey, Jr, for the answer!
This is it:
You'll need to put your design in all of the different versions. ICO
files contain multiple versions of the same image, for different
screen resolutions.
My personal preference is to not use VS - there's an ICO plugin for
Paint.Net (all free) which allows you to make a single image
(typically 256x256), and save multiple versions within an ICO file in
one shot. It's very useful for building icons.
See
http://forums.getpaint.net/index.php?/topic/927-icon-cursor-and-animated-cursor-format-v37-may-2010/
for the plugin.
Since I am a Paint.Net user, the plugin sounded like a great idea, and I tried it. Bingo! This works very nicely.

Toolbar Icons usage in Visual Studio 2010 Express

I am porting a Linux Mono/GTK application to MS.NET/WPF. The application uses a toolbar, which I could have sworn VS had built in support for adding icons to through the WYSIWYG designer.
However, firstly, in the "Items" property, the add button is greyed out. I did some research and found that I could add <Button></Button> tags directly to the XAML, however, I still couldn't figure out how to add icons. I'd like to use the default Windows icons.
I then found that you had to add <Image></Image> tags to create typical icon based toolbar items, however, I didn't know where to find the default windows icons.
I read on a different stack exchange post that they are available in C:\Program Files\Microsoft Visual Studio 10.0\Common7\VS2010ImageLibrary\1033\VS2010ImageLibrary.zip
However, I am stuck with VS Express edition, and according to the MSDN website this archive doesn't exist in VSE.
My question is this: is there any way to use the default Windows icons?
Also, is it possible I've missed something? How do most people handle toolbars?
All the system icons are not saved in the same place. They are spread across multiple dlls.
List of Windows 7 icons stored in imageres.dll is one such place. You can google for other stuff.
One you have the dll from which you want to create the WPF Image you can use Imaging.CreateBitmapSourceFromHIcon function after using LoadIcon

Using Visual Studio Image Library PNGs in a Windows Form app

My question is about the Visual Studio Image Library that comes with VS2008. In the _Common Elements\Annotations folder, there are PNGs with multiple sizes and I was wondering what the intended use of these is. Is there an standard way to implement these images, e.g. in a Windows Forms status bar?
Here are three of the PNGs as an example:
The suggested usage is to basically copy/paste the sized image you want into a new image file. Then simply use that as an icon or image in your controls as you see fit. All of the PNGs already have a transparent background, so it should be really easy to copy/paste.

Resources