Table of Contents

Class FileMaskUtils

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Contains static methods and properties related to the file masks.

public class FileMaskUtils
Inheritance
FileMaskUtils

Fields

StrAllFiles

Gets or sets localization for "All Files" string.

StrImageFiles

Gets or sets localization for "Image Files" string.

Properties

FileDialogFilterAllFiles

Gets "All Files (.)|." string.

Methods

GetFileDialogFilter(IEnumerable<string>, bool)

Generates file dialog filter. Result example:"Image Files (.png; .jpg)|.png;.jpg|All Files (.)|.".

GetFileDialogFilterForImageOpen(bool)

Gets string like "Image Files (.png; .jpg)|.png;.jpg", but with all supported image format extensions for the open file dialog.

GetFileDialogFilterForImageSave()

Gets string like "Image Files (.png; .jpg)|.png;.jpg", but with all supported image format extensions for the save file dialog.