C# 클래스 Windows.Mvvm.Services.Dialog.DialogService

Represents a service for viewing dialogs. This is needed to abstract away the details from the view models, so that the view models can be unit tested better (view models should not have any dependencies to view code).
파일 보기 프로젝트 열기: lecode-official/mvvm-framework

공개 메소드들

메소드 설명
ShowFolderBrowseDialogAsync ( string commitButtonText ) : Task>

Displays a folder browser dialog to the user.

ShowFolderBrowseDialogAsync ( string commitButtonText, PickerLocationId suggestedStartLocation, PickerViewMode viewMode ) : Task>

Displays a folder browser dialog to the user.

ShowMessageBoxDialogAsync ( string message, string title, MessageBoxDialogCommands messageBoxDialogCommands ) : System.Threading.Tasks.Task

Shows a message box dialog.

ShowMessageBoxDialogAsync ( string message, string title, MessageBoxButton messageBoxButton ) : Task

Shows a message box dialog.

ShowOpenFileDialogAsync ( string commitButtonText, IEnumerable fileTypeFilter, PickerLocationId suggestedStartLocation, PickerViewMode viewMode, bool isMultiselect ) : Task>>

Displays a file open dialog to the user.

ShowOpenFileDialogAsync ( string commitButtonText, IEnumerable fileTypeFilter, bool isMultiselect ) : Task>>

Displays a file open dialog to the user.

ShowOpenFileDialogAsync ( string commitButtonText, IEnumerable fileTypeFilter ) : Task>

Displays a file open dialog to the user.

ShowOpenFileDialogAsync ( string commitButtonText, IEnumerable fileTypeFilter, PickerLocationId suggestedStartLocation, PickerViewMode viewMode ) : Task>

Displays a file open dialog to the user.

ShowSaveFileDialogAsync ( string commitButtonText, IEnumerable fileTypeChoices ) : Task>

Displays a save file dialog to the user.

ShowSaveFileDialogAsync ( string commitButtonText, IEnumerable fileTypeFilter, StorageFile suggestedSaveFile ) : Task>

Displays a save file dialog to the user.

ShowSaveFileDialogAsync ( string commitButtonText, IEnumerable fileTypeChoices, StorageFile suggestedSaveFile, PickerLocationId suggestedStartLocation ) : Task>

Displays a save file dialog to the user.

ShowSaveFileDialogAsync ( string commitButtonText, IEnumerable fileTypeChoices, string suggestedFileName, string defaultExtension ) : Task>

Displays a save file dialog to the user.

ShowSaveFileDialogAsync ( string commitButtonText, IEnumerable fileTypeChoices, string suggestedFileName, string defaultFileExtension, PickerLocationId suggestedStartLocation ) : Task>

Displays a save file dialog to the user.

메소드 상세

ShowFolderBrowseDialogAsync() 공개 메소드

Displays a folder browser dialog to the user.
public ShowFolderBrowseDialogAsync ( string commitButtonText ) : Task>
commitButtonText string The text, that is displayed on the commit button, that the user has to press to select a folder.
리턴 Task>

ShowFolderBrowseDialogAsync() 공개 메소드

Displays a folder browser dialog to the user.
public ShowFolderBrowseDialogAsync ( string commitButtonText, PickerLocationId suggestedStartLocation, PickerViewMode viewMode ) : Task>
commitButtonText string The text, that is displayed on the commit button, that the user has to press to select a folder.
suggestedStartLocation PickerLocationId The suggested start location, which is initally displayed by the browse folder dialog.
viewMode PickerViewMode The view mode, which determines whether the browse folder dialog displays the folders as a list or as thumbnails.
리턴 Task>

ShowMessageBoxDialogAsync() 공개 메소드

Shows a message box dialog.
public ShowMessageBoxDialogAsync ( string message, string title, MessageBoxDialogCommands messageBoxDialogCommands ) : System.Threading.Tasks.Task
message string The message that is displayed in the message box dialog.
title string The title that is displayed in the message box dialog.
messageBoxDialogCommands MessageBoxDialogCommands The commands, which are bound to the buttons of the message box dialog.
리턴 System.Threading.Tasks.Task

ShowMessageBoxDialogAsync() 공개 메소드

Shows a message box dialog.
public ShowMessageBoxDialogAsync ( string message, string title, MessageBoxButton messageBoxButton ) : Task
message string The message that is displayed in the message box dialog.
title string The title that is displayed in the message box dialog.
messageBoxButton MessageBoxButton The message box buttons that are to be displayed in the message box dialog.
리턴 Task

ShowOpenFileDialogAsync() 공개 메소드

Displays a file open dialog to the user.
public ShowOpenFileDialogAsync ( string commitButtonText, IEnumerable fileTypeFilter, PickerLocationId suggestedStartLocation, PickerViewMode viewMode, bool isMultiselect ) : Task>>
commitButtonText string The text, that is displayed on the commit button, that the user has to press to select one or multiple files.
fileTypeFilter IEnumerable The file type filter, which determines which kinds of files are displayed to the user.
suggestedStartLocation PickerLocationId The suggested start location, which is initally displayed by the open file dialog.
viewMode PickerViewMode The view mode, which determines whether the open file dialog displays the files as a list or as thumbnails.
isMultiselect bool Determines whether the user is able to select multiple files.
리턴 Task>>

ShowOpenFileDialogAsync() 공개 메소드

Displays a file open dialog to the user.
public ShowOpenFileDialogAsync ( string commitButtonText, IEnumerable fileTypeFilter, bool isMultiselect ) : Task>>
commitButtonText string The text, that is displayed on the commit button, that the user has to press to select one or multiple files.
fileTypeFilter IEnumerable The file type filter, which determines which kinds of files are displayed to the user.
isMultiselect bool Determines whether the user is able to select multiple files.
리턴 Task>>

ShowOpenFileDialogAsync() 공개 메소드

Displays a file open dialog to the user.
public ShowOpenFileDialogAsync ( string commitButtonText, IEnumerable fileTypeFilter ) : Task>
commitButtonText string The text, that is displayed on the commit button, that the user has to press to select a file.
fileTypeFilter IEnumerable The file type filter, which determines which kinds of files are displayed to the user.
리턴 Task>

ShowOpenFileDialogAsync() 공개 메소드

Displays a file open dialog to the user.
public ShowOpenFileDialogAsync ( string commitButtonText, IEnumerable fileTypeFilter, PickerLocationId suggestedStartLocation, PickerViewMode viewMode ) : Task>
commitButtonText string The text, that is displayed on the commit button, that the user has to press to select a file.
fileTypeFilter IEnumerable The file type filter, which determines which kinds of files are displayed to the user.
suggestedStartLocation PickerLocationId The suggested start location, which is initally displayed by the open file dialog.
viewMode PickerViewMode The view mode, which determines whether the open file dialog displays the files as a list or as thumbnails.
리턴 Task>

ShowSaveFileDialogAsync() 공개 메소드

Displays a save file dialog to the user.
public ShowSaveFileDialogAsync ( string commitButtonText, IEnumerable fileTypeChoices ) : Task>
commitButtonText string The text, that is displayed on the commit button, that the user has to press to select a file.
fileTypeChoices IEnumerable The file type filter, which determines which kinds of files are available to the user.
리턴 Task>

ShowSaveFileDialogAsync() 공개 메소드

Displays a save file dialog to the user.
public ShowSaveFileDialogAsync ( string commitButtonText, IEnumerable fileTypeFilter, StorageFile suggestedSaveFile ) : Task>
commitButtonText string The text, that is displayed on the commit button, that the user has to press to select a file.
fileTypeFilter IEnumerable The file type filter, which determines which kinds of files are available to the user.
suggestedSaveFile Windows.Storage.StorageFile The file which is suggested to the user as the file to which he is saving.
리턴 Task>

ShowSaveFileDialogAsync() 공개 메소드

Displays a save file dialog to the user.
public ShowSaveFileDialogAsync ( string commitButtonText, IEnumerable fileTypeChoices, StorageFile suggestedSaveFile, PickerLocationId suggestedStartLocation ) : Task>
commitButtonText string The text, that is displayed on the commit button, that the user has to press to select a file.
fileTypeChoices IEnumerable The file type filter, which determines which kinds of files are available to the user.
suggestedSaveFile Windows.Storage.StorageFile The file which is suggested to the user as the file to which he is saving.
suggestedStartLocation PickerLocationId The suggested start location, which is initally displayed by the save file dialog.
리턴 Task>

ShowSaveFileDialogAsync() 공개 메소드

Displays a save file dialog to the user.
public ShowSaveFileDialogAsync ( string commitButtonText, IEnumerable fileTypeChoices, string suggestedFileName, string defaultExtension ) : Task>
commitButtonText string The text, that is displayed on the commit button, that the user has to press to select a file.
fileTypeChoices IEnumerable The file type filter, which determines which kinds of files are available to the user.
suggestedFileName string The suggested name of the file that is to be saved.
defaultExtension string The suggested extension of the file that is to be saved.
리턴 Task>

ShowSaveFileDialogAsync() 공개 메소드

Displays a save file dialog to the user.
public ShowSaveFileDialogAsync ( string commitButtonText, IEnumerable fileTypeChoices, string suggestedFileName, string defaultFileExtension, PickerLocationId suggestedStartLocation ) : Task>
commitButtonText string The text, that is displayed on the commit button, that the user has to press to select a file.
fileTypeChoices IEnumerable The file type filter, which determines which kinds of files are available to the user.
suggestedFileName string The suggested name of the file that is to be saved.
defaultFileExtension string The suggested extension of the file that is to be saved.
suggestedStartLocation PickerLocationId The suggested start location, which is initally displayed by the save file dialog.
리턴 Task>