Default color for fill color on ribbon

Ribbon for WPF Forum

Posted 15 years ago by Laura Tyson
How can I set a default color when the split button is clicked for the first time? I tried naming the ColorPickerGallery and the color and in the constructor set the _fillColorGallery.selectedItem to the default color. This did not work.

Comments (1)

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Laura,

Are you using commands to drive it? If so you may wish to look at how we did the Apply Background functionality in our main Features ribbon demo. In RichTextBoxExtended, look in the code for instances of "ApplyBackground".

If you need further help beyond that, please email us a simple sample project showing the issue and we'll take a look. Thanks!

Actipro Software Support

The latest build of this product (v24.1.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.