MahApps.Metro.Controls.Dialogs.ProgressDialogController.SetIndeterminate C# (CSharp) Method

SetIndeterminate() public method

Sets the ProgressBar's IsIndeterminate to true. To set it to false, call SetProgress.
public SetIndeterminate ( ) : void
return void
        public void SetIndeterminate()
        {
            this.WrappedDialog.Invoke(() => this.WrappedDialog.SetIndeterminate());
        }

Usage Example

        public async void ShowProgress(string location, bool isSvn, string autoInstallName = null)
        {
            controller = await this.ShowProgressAsync("Updating...", "Downloading the required data.");
            controller.SetIndeterminate();

            ListAssemblies(location, isSvn, autoInstallName);
        }
All Usage Examples Of MahApps.Metro.Controls.Dialogs.ProgressDialogController::SetIndeterminate