ArcGIS Pro 2.6 API Reference Guide
HasFailedToLoadItems Property

ArcGIS.Desktop.Framework.Contracts Namespace > Gallery Class : HasFailedToLoadItems Property
Gets or sets the flag indicating the gallery has not initialized properly.
Syntax
protected bool HasFailedToLoadItems {get; set;}
Protected Property HasFailedToLoadItems As Boolean
Remarks
Set this flag along with an updated LoadingMessage if your gallery has failed to load its items properly. These should be set in your OnDropDownOpened override. If this flag is not set, the default progressor that appears in the drop down will remain visible as it is waiting for items to load.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

Gallery Class
Gallery Members