ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Framework.Contracts Namespace / GalleryItem Class / GalleryItem Constructor / GalleryItem Constructor(String,String,String,String)
The label for the gallery item.
The path to the image to use.
The tooltip for the galery item.
The group label the gallery item should appear under if appropriate.

In This Topic
    GalleryItem Constructor(String,String,String,String)
    In This Topic
    Initializes a GalleryItem class.
    Syntax
    public GalleryItem( 
       string text,
       string imagePath,
       string tooltip,
       string group
    )
    Public Function New( _
       ByVal text As String, _
       Optional ByVal imagePath As String, _
       Optional ByVal tooltip As String, _
       Optional ByVal group As String _
    )

    Parameters

    text
    The label for the gallery item.
    imagePath
    The path to the image to use.
    tooltip
    The tooltip for the galery item.
    group
    The group label the gallery item should appear under if appropriate.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also