ArcGISRuntime.WPF.Samples.ListGeodatabaseVersions.ListGeodatabaseVersions.SetBusy C# (CSharp) Method

SetBusy() private method

private SetBusy ( bool isBusy = true ) : void
isBusy bool
return void
        private void SetBusy(bool isBusy = true)
        {
            if (isBusy)
            {
                // Change UI to indicate that the geoprocessing is running
                busyOverlay.Visibility = Visibility.Visible;
                progress.IsIndeterminate = true;
            }
            else
            {
                // Change UI to indicate that the geoprocessing is not running
                busyOverlay.Visibility = Visibility.Collapsed;
                progress.IsIndeterminate = false;
            }
        }
    }