C# Class Artemis.Services.MetroDialogService

Inheritance: DialogService
ファイルを表示 Open project: SpoinkyNL/Artemis Class Usage Examples

Public Methods

Method 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 method

public GetActiveWindow ( ) : MahApps.Metro.Controls.MetroWindow
return MahApps.Metro.Controls.MetroWindow

ShowInputDialog() public method

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

ShowMessageBox() public method

public ShowMessageBox ( string title, string message ) : void
title string
message string
return void

ShowOpenDialog() public method

public ShowOpenDialog ( string &path, string defaultExt, string filter, string initialDir = null ) : bool
path string
defaultExt string
filter string
initialDir string
return bool

ShowProgressDialog() public method

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
return Task

ShowQuestionMessageBox() public method

public ShowQuestionMessageBox ( string title, string message ) : Task
title string
message string
return Task