A control that displays an image gallery and is capable of categorizing items into groups.
public class GalleryControl : ContentControl, INavigationOwner, IBarsNavigationSupport, IManipulationClient
Public Class GalleryControl Inherits ContentControl Implements INavigationOwner, IBarsNavigationSupport, IManipulationClient
Related API Members
The following members accept/return GalleryControl objects:
Use the GalleryControl.Gallery property to specify a gallery displayed by the GalleryControl. Visual settings, such as the number of visible columns, the visibility of the filter panel, etc, are controlled by the assigned Gallery object.
This example demonstrates how to create a GalleryControl containing two gallery item groups.
The following image shows the result:
Class MainWindow Private Sub Gallery_ItemClick(ByVal sender As System.Object, ByVal e As DevExpress.Xpf.Bars.GalleryItemEventArgs) MessageBox.Show("The " + e.Item.Caption + " item has been clicked") End Sub End Class