Jul 23, 2010 at 5:42 PM
Edited Jul 23, 2010 at 5:42 PM
Hi, Currently every RibbonButton I have has an image and I would like to know if it is possible to rather than displaying an image for the ribbon button I can display a user control like (<CustomWPFColorPicker:ColorPickerControlView x:Name="ForeColorPicker" /> ) Any help will be greatly appreciate it, as I am totally stuck This is what I currenlty have: <r:RibbonButton Name="FontColor" Margin="0,10,0,0" Command="{StaticResource FontColorCommand}"> <r:RibbonCommand x:Key="FontColorCommand" ToolTipTitle="Font Color" ToolTipDescription="Changes the text color." SmallImageSource="Images/Forecolor.gif" LargeImageSource="Images/Forecolor.gif" CanExecute="FontColorRibbonCommand_CanExecute" Executed="FontColorRibbonCommand_Executed"/> Thanks