Is it possible to display a list of items with a custom item template such as one can do in WPF, by specifying a Listbox Itemtemplate? Say i’m looking to display a list of Person instances, each with a name, age and a picture. Each listitem would have eq. a Label for name, age and an image area for the picture.
Share
you can use for this purpose Composite class, or some derivation of this class. Here is how i make it:
}
After that you can use ScrolledComposite for displaying this custom Composite.