Override RibbonCommandUIManager settings

Ribbon for WPF Forum

Posted 13 years ago by Robert Croshere
Version: 10.2.0533
Avatar
Hi,

For a number of commands I use RibbonCommandUIManager.Register to register an image, label, etc. In some cases I would like to display a ribbon:button for the command, but not display any image. I haven't found how to do this, specifying ImageSourceSmall={x:Null} doesn't work (still displays the registered image), and using a 1 pixel transparent image still reserves space on the button about the size of a 16 pixel image. Any ideas on how to do this?

TIA,
Robert

Comments (1)

Posted 13 years ago by Robert Croshere
Avatar
Sorry,

Forget my previous question, just found a workaround by setting ImagesourceSmallSize to 0,0.

Regards,
Robert
The latest build of this product (v24.1.2) was released 8 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.