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 » Gallery Item with Label Collapse All
Subject Author Date
Gunter Avenius Jun 20, 2008 - 12:36 AM

Hello,


Elegant Ribbon 3.0, vb2005


How can i add a Label to a Gallery Item?


Like: Show Example


Thanks

Gunter

Technical Support Jun 20, 2008 - 4:44 AM

By default, labels are not supported by gallery items. To make a gallery item support a label, you should paint it manually. You can do this by using the Gallery.DrawItem event.

Gunter Avenius Jun 20, 2008 - 4:49 AM

Hello,


Please can you get me an example Code for vb2005?


Thanks

Gunter


 


 

Technical Support Jul 17, 2008 - 5:47 AM

We have sent example. Please check your e-mail.

Gunter Avenius Jul 17, 2008 - 6:17 AM

Hello,


Thanks for you email, but that´s not what I mean.



I send you (via email) a sample project, to see what I mean.



I want the same Gallary Control dynamically, as in the example the Static "Gallery1" Control.



Thanks


Best regards

Gunter


 


 

Technical Support Jul 17, 2008 - 6:55 AM

We have sent you e-mail with modified version of your test project.

Gunter Avenius Jul 17, 2008 - 7:08 AM

Hello!


Thanks, but how can i set the Item Height?



ribbonGallery.GalleryItemHeightMeasurementMode = Elegant.Ui.GalleryItemHeightMeasurementMode.Custom
ribbonGallery.ItemHeight = 32


Works not.


Thanks

Gunter