Use Xaml-File as Image for a RibbonButton

Jul 23, 2009 at 10:24 AM

Hi,

I would like to use a xaml-file as Source for the Image of a RibbonButton/RibbonSplitButton etc. I tried to add it to the RibbonCommand LargeImageSource, but this one only likes Images Sources. So I tried to add a ContentControl like this:

 

 <r:RibbonButton Command="{StaticResource PlatzhalterCommand}">
                        <ContentPresenter Content="{StaticResource Drucken}" Width="16" Height="16"/>
                    </r:RibbonButton>

But the Image isn't shown on the Button. Is there any way to display the xaml-image on the Buttons?
Thanks for your support:)

Regards,

picatshow