C# Class Artemis.Services.MetroDialogService

Inheritance: DialogService
Afficher le fichier Open project: SpoinkyNL/Artemis Class Usage Examples

Méthodes publiques

Méthode Description
GetActiveWindow ( ) : MahApps.Metro.Controls.MetroWindow
ShowInputDialog ( string title, string message, MetroDialogSettings settings = null ) : Task
ShowMessageBox ( string title, string message ) : void
ShowOpenDialog ( string &path, string defaultExt, string filter, string initialDir = null ) : bool
ShowProgressDialog ( string title, string message, bool isCancelable = false, MetroDialogSettings settings = null ) : Task
ShowQuestionMessageBox ( string title, string message ) : Task

Method Details

GetActiveWindow() public méthode

public GetActiveWindow ( ) : MahApps.Metro.Controls.MetroWindow
Résultat MahApps.Metro.Controls.MetroWindow

ShowInputDialog() public méthode

public ShowInputDialog ( string title, string message, MetroDialogSettings settings = null ) : Task
title string
message string
settings MahApps.Metro.Controls.Dialogs.MetroDialogSettings
Résultat Task

ShowMessageBox() public méthode

public ShowMessageBox ( string title, string message ) : void
title string
message string
Résultat void

ShowOpenDialog() public méthode

public ShowOpenDialog ( string &path, string defaultExt, string filter, string initialDir = null ) : bool
path string
defaultExt string
filter string
initialDir string
Résultat bool

ShowProgressDialog() public méthode

public ShowProgressDialog ( string title, string message, bool isCancelable = false, MetroDialogSettings settings = null ) : Task
title string
message string
isCancelable bool
settings MahApps.Metro.Controls.Dialogs.MetroDialogSettings
Résultat Task

ShowQuestionMessageBox() public méthode

public ShowQuestionMessageBox ( string title, string message ) : Task
title string
message string
Résultat Task