![]() |
Paradox Game Engine
v1.0.0 beta06
|
Public Member Functions | |
DialogService (Dispatcher dispatcher, Window parentWindow) | |
IFileOpenModalDialog | CreateFileOpenModalDialog () |
Creates a modal file open dialog. More... | |
IFolderOpenModalDialog | CreateFolderOpenModalDialog () |
Create a modal folder open dialog. More... | |
IFileSaveModalDialog | CreateFileSaveModalDialog () |
Creates a modal file save dialog. More... | |
MessageBoxResult | ShowMessageBox (string message, string caption, MessageBoxButton button, MessageBoxImage image) |
Displays a modal message box. More... | |
void | CloseCurrentWindow (bool?dialogResult=null) |
Attempts to close the current window. More... | |
Properties | |
Window | ParentWindow [get, set] |
![]() | |
Window | ParentWindow [get] |
Gets the parent window handle. More... | |
Definition at line 13 of file DialogService.cs.
SiliconStudio.Presentation.Dialogs.DialogService.DialogService | ( | Dispatcher | dispatcher, |
Window | parentWindow | ||
) |
Definition at line 17 of file DialogService.cs.
void SiliconStudio.Presentation.Dialogs.DialogService.CloseCurrentWindow | ( | bool? | dialogResult = null | ) |
Attempts to close the current window.
dialogResult | a nullable boolean indicating, if the current window behave like a dialog window, the result of the dialog invocation. |
Implements SiliconStudio.Presentation.Services.IDialogService.
Definition at line 46 of file DialogService.cs.
IFileOpenModalDialog SiliconStudio.Presentation.Dialogs.DialogService.CreateFileOpenModalDialog | ( | ) |
Creates a modal file open dialog.
Implements SiliconStudio.Presentation.Services.IDialogService.
Definition at line 26 of file DialogService.cs.
IFileSaveModalDialog SiliconStudio.Presentation.Dialogs.DialogService.CreateFileSaveModalDialog | ( | ) |
Creates a modal file save dialog.
Implements SiliconStudio.Presentation.Services.IDialogService.
Definition at line 36 of file DialogService.cs.
IFolderOpenModalDialog SiliconStudio.Presentation.Dialogs.DialogService.CreateFolderOpenModalDialog | ( | ) |
Create a modal folder open dialog.
Implements SiliconStudio.Presentation.Services.IDialogService.
Definition at line 31 of file DialogService.cs.
MessageBoxResult SiliconStudio.Presentation.Dialogs.DialogService.ShowMessageBox | ( | string | message, |
string | caption, | ||
MessageBoxButton | buttons, | ||
MessageBoxImage | image | ||
) |
Displays a modal message box.
message | The text to display as message in the message box. |
caption | The title of the message box |
buttons | The buttons to display in the message box. |
image | The image to display in the message box. |
Implements SiliconStudio.Presentation.Services.IDialogService.
Definition at line 41 of file DialogService.cs.
|
getset |
Definition at line 24 of file DialogService.cs.