Is it possible (what property) to use a Xaml resource as the Icon/Image for a ButtonTool in the Ribbon?
I have a handful of Icons created from a designer that are Xaml resources and I'd like to know if I can use those somehow or if i'll need to create Png/JPG versions.
The image properties (i.e. SmallImage/LargeImage) of the tools are of type ImageSource so you can use any WPF ImageSource derived class. Normally you would use a BitmapImage if you have a raster image file such as a png or a DrawingImage if you have some drawing such as when you have a path. I'm guessing that you have some paths so maybe you should look into the latter - i.e. creating a DrawingImage whose Drawing is a GeometryDrawing whose Geometry is a PathGeometry.
Were you able to resolve this problem? I am trying to do something exactly as to what you are planning?
<Pen Brush="#FF666666" Thickness="1" StartLineCap="Flat" EndLineCap="Flat" DashCap="Flat" LineJoin="Miter" MiterLimit="4"/>
<Pen Brush="#FF666666" Thickness="4" StartLineCap="Flat" EndLineCap="Flat" DashCap="Flat" LineJoin="Miter" MiterLimit="4"/>