Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
350
Make visible on gallery preview a GalleryToolItem via code
posted

Hello, I have a ribbon and a Gallery with some variable GalleryToolItems; I would like to see on preview of Gallery a GalleryToolItem selected by code. I have tryed two ways:

- Set property "SelectedItem" to true on desired item: that will make selected the item but not visible on preview

- Used method "BringIntoView" of GalleryToolItem but I receive an exception "The item cannot be brought into view if the gallery preview is not showing"

 

Is there a different way to obtain what desired?

Thank you very much for help and suggestions.

 

Marcello