skinning using custom images

Jul 7, 2010 at 8:13 AM
Edited Jul 7, 2010 at 8:14 AM
Is it possible to have buttons using custom images? If I understand correctly, the current images are drawn using Path elements. I want to be able to use Image elements, in order to use icons received from graphic designers. Can it be done?
Jul 15, 2010 at 7:33 AM
I got it working. To be honest, I'm not sure what I did differently this time around, but it seems that placing the Image element within the canvas elements works. For example: <Canvas x:Name="PauseSymbol" Opacity="0.0" Width="43.0171" Height="18.8568" Canvas.Left="1.20181" Canvas.Top="1.46829"> <Image Height="16" Source="Pause.png" Width="16" Canvas.Left="14" Canvas.Top="2" /> </Canvas>