Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Elegant Ribbon Tech Support » How to clear a Ribbon Gallery? Collapse All
Subject Author Date
Helmut Wahrmann Sep 2, 2010 - 8:06 AM

Using Ribbon 3.7

Have a RibbonGallery with one image in it.

I do programmatically a:

gallery1.Items.Clear();

However, the image is still displayed.
Only when i hover with th emouse over the gallery it is refreshed and the image disappears,

tried to use Reresh() and Update() on the gallery, with no luck.

Technical Support Sep 2, 2010 - 9:09 AM

Did you try to invoke the Gallery.Invalidate() method?

Helmut Wahrmann Sep 2, 2010 - 11:01 AM

Thought i’d tried that as well.
Seems not.

Working now with a call to Invalidate.
thanks