| ArcGIS Explorer Component Help | 
| GalleryItem Constructor (String, Image) | 
| GalleryItem Class See Also | 
            Initializes a new instance of the GalleryItem class with the specified caption and image.
            
    Namespace: 
   ESRI.ArcGISExplorer.ApplicationAssembly: ESRI.ArcGISExplorer.Application (in ESRI.ArcGISExplorer.Application.dll) Version: 2.0.0.1500 (2.0.0.1500)
 Syntax
Syntax
| C# | 
|---|
| public GalleryItem( string caption, Image image ) | 
| Visual Basic (Declaration) | 
|---|
| Public Sub New ( _ caption As String, _ image As Image _ ) | 
Parameters
- caption
- Type: System..::.String
 The caption of the new GalleryItem.
- image
- Type: System.Drawing..::.Image
 The image used to display the new GalleryItem.
 Remarks
Remarks
It is recommended that a GalleryItem have both a valid image and caption. However, the image may be nullNothingnullptra null reference (Nothing in Visual Basic) to indicate no image should be shown within the Gallery providing there is a valid caption; conversely, providing there is a valid image, the caption may be an empty string.
The Tooltip, GroupCaption, and Tag can optionally be set once the GalleryItem has been instantiated.




