ArcGIS Pro 2.7 API Reference Guide
Gallery Class Members
Properties  Methods  Events


ArcGIS.Desktop.Framework.Contracts Namespace : Gallery Class

The following tables list the members exposed by Gallery.

Public Properties
 NameDescription
Public Property Gets or sets the boolean to fire the click event even if the item is currently selected. The default value is false.  
Public Property Gets or sets the command label as it appears in the ribbon and customize dialog. (Inherited from ArcGIS.Desktop.Framework.Contracts.PlugIn)
Public Property InRibbonGallery's bounded ItemSource. This collection filters out the items whose value of IGalleryItem.IsGroupVisible is false.  
Public PropertyGets or sets the supplementary text that appears with the Tooltip only when the command is disabled. (Inherited from ArcGIS.Desktop.Framework.Contracts.PlugIn)
Public Property Gets or sets a boolean to specify whether the control is enabled. (Inherited from ArcGIS.Desktop.Framework.Contracts.PlugIn)
Public Property Gets the gallery's items.  
Public Property Gets a copy of the gallery's items which is safe to iterate over from any thead.  
Public Property Gets or sets the custom item template.  
Public Property Gets or sets the large representation of the command, this may be an image or a xaml element. (Inherited from ArcGIS.Desktop.Framework.Contracts.PlugIn)
Public Property Gets or sets the message to show while items are loading into collection.  
Public Property Gets or sets the zero-based index of the selected item.  
Public Property Gets or sets the selected gallery item.  
Public Property Gets or sets the small representation of the command, this may be an image or a xaml element. (Inherited from ArcGIS.Desktop.Framework.Contracts.PlugIn)
Public Property Gets or sets a brief description of the command that appears in a small pop-up window when a user pauses the mouse pointer over an element, such as over a Button. (Inherited from ArcGIS.Desktop.Framework.Contracts.PlugIn)
Public Property Gets or sets a one or two word label that appears above the tooltip. (Inherited from ArcGIS.Desktop.Framework.Contracts.PlugIn)
Top
Protected Properties
 NameDescription
Protected Internal Property Gets or sets default gallery groups or items used to restore the dialog. This is necessary for gallery customization dialog.  
Protected Property Gets or sets the flag indicating the gallery has not initialized properly.  
Protected Internal Property Gets the DAML identifier. (Inherited from ArcGIS.Desktop.Framework.Contracts.PlugIn)
Top
Public Methods
 NameDescription
Public Method Clears the selection set.  
Top
Protected Methods
 NameDescription
Protected Method Adds an item to the collection.  
Protected Method Removes all the items from the internal collection.  
Protected Internal Method This is necessary for gallery customization dialog. It is used to create a new item when adding a new gallery item.  
Protected Method Add items from an existing collection.  
Protected Method Inserts an element into the collection at the specified index.  
Protected Method Moves the item at the specified index to a new location in the collection.  
Protected MethodOverloaded.  (Inherited from ArcGIS.Desktop.Framework.Contracts.PropertyChangedBase)
Protected Internal MethodOverloaded.   
Protected Internal Method Called when the gallery is expanded.  
Protected Internal Method Called periodically by the framework once the tool has been created. (Inherited from ArcGIS.Desktop.Framework.Contracts.PlugIn)
Protected Method Removes the first occurrence of a specific object from the collection.  
Protected Method Removes the element at the specified index of the collection.  
Protected Internal Method Derived classes can push in an entire collection instead of adding items piecemeal.  
Protected MethodOverloaded.  (Inherited from ArcGIS.Desktop.Framework.Contracts.PropertyChangedBase)
Protected Internal Method Called when the gallery is disposed to give the control an opportunity to clean up any resources.  
Top
Public Events
 NameDescription
Public Event Occurs when a property value changes. (Inherited from ArcGIS.Desktop.Framework.Contracts.PropertyChangedBase)
Top
See Also

Reference

Gallery Class
ArcGIS.Desktop.Framework.Contracts Namespace