C# Класс System.Waf.Applications.Services.FileDialogServiceExtensions

Provides method overloads for the IFileDialogService to simplify its usage.
Показать файл Открыть проект

Открытые методы

Метод Описание
ShowOpenFileDialog ( this service, FileType fileType ) : System.Waf.Applications.Services.FileDialogResult

Shows the open file dialog box that allows a user to specify a file that should be opened.

ShowOpenFileDialog ( this service, FileType fileType, string defaultFileName ) : System.Waf.Applications.Services.FileDialogResult

Shows the open file dialog box that allows a user to specify a file that should be opened.

ShowOpenFileDialog ( this service, IEnumerable fileTypes ) : System.Waf.Applications.Services.FileDialogResult

Shows the open file dialog box that allows a user to specify a file that should be opened.

ShowOpenFileDialog ( this service, IEnumerable fileTypes, FileType defaultFileType, string defaultFileName ) : System.Waf.Applications.Services.FileDialogResult

Shows the open file dialog box that allows a user to specify a file that should be opened.

ShowOpenFileDialog ( this service, object owner, FileType fileType ) : System.Waf.Applications.Services.FileDialogResult

Shows the open file dialog box that allows a user to specify a file that should be opened.

ShowOpenFileDialog ( this service, object owner, FileType fileType, string defaultFileName ) : System.Waf.Applications.Services.FileDialogResult

Shows the open file dialog box that allows a user to specify a file that should be opened.

ShowOpenFileDialog ( this service, object owner, IEnumerable fileTypes ) : System.Waf.Applications.Services.FileDialogResult

Shows the open file dialog box that allows a user to specify a file that should be opened.

ShowSaveFileDialog ( this service, FileType fileType ) : System.Waf.Applications.Services.FileDialogResult

Shows the save file dialog box that allows a user to specify a filename to save a file as.

ShowSaveFileDialog ( this service, FileType fileType, string defaultFileName ) : System.Waf.Applications.Services.FileDialogResult

Shows the save file dialog box that allows a user to specify a filename to save a file as.

ShowSaveFileDialog ( this service, IEnumerable fileTypes ) : System.Waf.Applications.Services.FileDialogResult

Shows the save file dialog box that allows a user to specify a filename to save a file as.

ShowSaveFileDialog ( this service, IEnumerable fileTypes, FileType defaultFileType, string defaultFileName ) : System.Waf.Applications.Services.FileDialogResult

Shows the save file dialog box that allows a user to specify a filename to save a file as.

ShowSaveFileDialog ( this service, object owner, FileType fileType ) : System.Waf.Applications.Services.FileDialogResult

Shows the save file dialog box that allows a user to specify a filename to save a file as.

ShowSaveFileDialog ( this service, object owner, FileType fileType, string defaultFileName ) : System.Waf.Applications.Services.FileDialogResult

Shows the save file dialog box that allows a user to specify a filename to save a file as.

ShowSaveFileDialog ( this service, object owner, IEnumerable fileTypes ) : System.Waf.Applications.Services.FileDialogResult

Shows the save file dialog box that allows a user to specify a filename to save a file as.

Описание методов

ShowOpenFileDialog() публичный статический Метод

Shows the open file dialog box that allows a user to specify a file that should be opened.
service must not be null. fileType must not be null.
public static ShowOpenFileDialog ( this service, FileType fileType ) : System.Waf.Applications.Services.FileDialogResult
service this The file dialog service.
fileType FileType The supported file type.
Результат System.Waf.Applications.Services.FileDialogResult

ShowOpenFileDialog() публичный статический Метод

Shows the open file dialog box that allows a user to specify a file that should be opened.
service must not be null. fileType must not be null.
public static ShowOpenFileDialog ( this service, FileType fileType, string defaultFileName ) : System.Waf.Applications.Services.FileDialogResult
service this The file dialog service.
fileType FileType The supported file type.
defaultFileName string Default filename. The directory name is used as initial directory when it is specified.
Результат System.Waf.Applications.Services.FileDialogResult

ShowOpenFileDialog() публичный статический Метод

Shows the open file dialog box that allows a user to specify a file that should be opened.
service must not be null. fileTypes must not be null. fileTypes must contain at least one item.
public static ShowOpenFileDialog ( this service, IEnumerable fileTypes ) : System.Waf.Applications.Services.FileDialogResult
service this The file dialog service.
fileTypes IEnumerable The supported file types.
Результат System.Waf.Applications.Services.FileDialogResult

ShowOpenFileDialog() публичный статический Метод

Shows the open file dialog box that allows a user to specify a file that should be opened.
service must not be null. fileTypes must not be null. fileTypes must contain at least one item.
public static ShowOpenFileDialog ( this service, IEnumerable fileTypes, FileType defaultFileType, string defaultFileName ) : System.Waf.Applications.Services.FileDialogResult
service this The file dialog service.
fileTypes IEnumerable The supported file types.
defaultFileType FileType Default file type.
defaultFileName string Default filename. The directory name is used as initial directory when it is specified.
Результат System.Waf.Applications.Services.FileDialogResult

ShowOpenFileDialog() публичный статический Метод

Shows the open file dialog box that allows a user to specify a file that should be opened.
service must not be null. fileType must not be null.
public static ShowOpenFileDialog ( this service, object owner, FileType fileType ) : System.Waf.Applications.Services.FileDialogResult
service this The file dialog service.
owner object The window that owns this OpenFileDialog.
fileType FileType The supported file type.
Результат System.Waf.Applications.Services.FileDialogResult

ShowOpenFileDialog() публичный статический Метод

Shows the open file dialog box that allows a user to specify a file that should be opened.
service must not be null. fileType must not be null.
public static ShowOpenFileDialog ( this service, object owner, FileType fileType, string defaultFileName ) : System.Waf.Applications.Services.FileDialogResult
service this The file dialog service.
owner object The window that owns this OpenFileDialog.
fileType FileType The supported file type.
defaultFileName string Default filename. The directory name is used as initial directory when it is specified.
Результат System.Waf.Applications.Services.FileDialogResult

ShowOpenFileDialog() публичный статический Метод

Shows the open file dialog box that allows a user to specify a file that should be opened.
service must not be null. fileTypes must not be null. fileTypes must contain at least one item.
public static ShowOpenFileDialog ( this service, object owner, IEnumerable fileTypes ) : System.Waf.Applications.Services.FileDialogResult
service this The file dialog service.
owner object The window that owns this OpenFileDialog.
fileTypes IEnumerable The supported file types.
Результат System.Waf.Applications.Services.FileDialogResult

ShowSaveFileDialog() публичный статический Метод

Shows the save file dialog box that allows a user to specify a filename to save a file as.
service must not be null. fileType must not be null.
public static ShowSaveFileDialog ( this service, FileType fileType ) : System.Waf.Applications.Services.FileDialogResult
service this The file dialog service.
fileType FileType The supported file type.
Результат System.Waf.Applications.Services.FileDialogResult

ShowSaveFileDialog() публичный статический Метод

Shows the save file dialog box that allows a user to specify a filename to save a file as.
service must not be null. fileType must not be null.
public static ShowSaveFileDialog ( this service, FileType fileType, string defaultFileName ) : System.Waf.Applications.Services.FileDialogResult
service this The file dialog service.
fileType FileType The supported file type.
defaultFileName string Default filename. The directory name is used as initial directory when it is specified.
Результат System.Waf.Applications.Services.FileDialogResult

ShowSaveFileDialog() публичный статический Метод

Shows the save file dialog box that allows a user to specify a filename to save a file as.
service must not be null. fileTypes must not be null. fileTypes must contain at least one item.
public static ShowSaveFileDialog ( this service, IEnumerable fileTypes ) : System.Waf.Applications.Services.FileDialogResult
service this The file dialog service.
fileTypes IEnumerable The supported file types.
Результат System.Waf.Applications.Services.FileDialogResult

ShowSaveFileDialog() публичный статический Метод

Shows the save file dialog box that allows a user to specify a filename to save a file as.
service must not be null. fileTypes must not be null. fileTypes must contain at least one item.
public static ShowSaveFileDialog ( this service, IEnumerable fileTypes, FileType defaultFileType, string defaultFileName ) : System.Waf.Applications.Services.FileDialogResult
service this The file dialog service.
fileTypes IEnumerable The supported file types.
defaultFileType FileType Default file type.
defaultFileName string Default filename. The directory name is used as initial directory when it is specified.
Результат System.Waf.Applications.Services.FileDialogResult

ShowSaveFileDialog() публичный статический Метод

Shows the save file dialog box that allows a user to specify a filename to save a file as.
service must not be null. fileType must not be null.
public static ShowSaveFileDialog ( this service, object owner, FileType fileType ) : System.Waf.Applications.Services.FileDialogResult
service this The file dialog service.
owner object The window that owns this SaveFileDialog.
fileType FileType The supported file type.
Результат System.Waf.Applications.Services.FileDialogResult

ShowSaveFileDialog() публичный статический Метод

Shows the save file dialog box that allows a user to specify a filename to save a file as.
service must not be null. fileType must not be null.
public static ShowSaveFileDialog ( this service, object owner, FileType fileType, string defaultFileName ) : System.Waf.Applications.Services.FileDialogResult
service this The file dialog service.
owner object The window that owns this SaveFileDialog.
fileType FileType The supported file type.
defaultFileName string Default filename. The directory name is used as initial directory when it is specified.
Результат System.Waf.Applications.Services.FileDialogResult

ShowSaveFileDialog() публичный статический Метод

Shows the save file dialog box that allows a user to specify a filename to save a file as.
service must not be null. fileTypes must not be null. fileTypes must contain at least one item.
public static ShowSaveFileDialog ( this service, object owner, IEnumerable fileTypes ) : System.Waf.Applications.Services.FileDialogResult
service this The file dialog service.
owner object The window that owns this SaveFileDialog.
fileTypes IEnumerable The supported file types.
Результат System.Waf.Applications.Services.FileDialogResult