changing ribbongalleryimages from landscape to portrait

Ribbon for WPF Forum

Posted 15 years ago by Roel Alblas
Avatar
Hi,

I like to change the images in the ribbongallery and popupgallery from landscape to portrait and vica versa. I like to do this on content change and add items. Also I like to have portrait and landscape together in ribbongallery and popupgallery.

Is this possible and so yes, can you tell me how?

Thanks!

Roel

Comments (2)

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Roel,

In your template for your items, I would recommend making it square and then having your Images uniform stretch to fill. This way regardless of whether you have portrait or landscape images, they will show up in the item's bounds (but with horizontal or vertical blank areas on the edges based on the orientation) and all items will have the same size.


Actipro Software Support

Posted 15 years ago by Roel Alblas
Avatar
Solved, thanks!

[Modified at 07/11/2009 09:23 AM]
The latest build of this product (v24.1.1) was released 22 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.