Initializes a new instance of the GalleryItem class with the specified caption, image and tooltip.

Namespace:  ESRI.ArcGISExplorer.Application

Assembly:  ESRI.ArcGISExplorer.Application (in ESRI.ArcGISExplorer.Application.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

C#
public GalleryItem(
	string caption,
	Image image,
	string tooltip
)
Visual Basic (Declaration)
Public Sub New ( _
	caption As String, _
	image As Image, _
	tooltip As String _
)

Parameters

caption
Type: System..::.String

The caption of the new GalleryItem.
image
Type: System.Drawing..::.Image

The image of the new GalleryItem.
tooltip
Type: System..::.String

The tooltip of the new GalleryItem.

Remarks

It is recommended that a GalleryItem have both a valid image and caption. In most cases, it is also useful to provide a Tooltip for each GalleryItem. 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 GroupCaption and Tag can optionally be set once the GalleryItem has been instantiated.

See Also