ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Framework.Contracts Namespace / Gallery Class / LoadingMessage Property

In This Topic
    LoadingMessage Property (Gallery)
    In This Topic
    Gets or sets the message to show while items are loading into collection.
    Syntax
    public string LoadingMessage {get;}
    Public ReadOnly Property LoadingMessage As String
    Remarks

    To better support a responsive UI experience, the framework provides a waiting spinner and loading message on the gallery’s dropdown when it is trying to asynchronously load a large number of items. The loading message can be updated at runtime or set statically using the loadingMessage attribute. Note, to get this default behavior, no heavy code should be put in the gallery’s constructor since it will block the UI thread and prevent the spinner from showing up. The loading message only appears in drop down galleries (not in-inline).

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also