using ElectronNET.API.Entities;
namespace ElectronNET.API
{
///
///
///
public class SaveDialogOptions
{
///
/// Gets or sets the title.
///
///
/// The title.
///
public string Title { get; set; }
///
/// Absolute directory path, absolute file path, or file name to use by default.
///
public string DefaultPath { get; set; }
///
/// Custom label for the confirmation button, when left empty the default label will
/// be used.
///
public string ButtonLabel { get; set; }
///
/// The filters specifies an array of file types that can be displayed or
/// selected when you want to limit the user to a specific type. For example:
///
///
///
/// new FileFilter[]
/// {
/// new FileFiler { Name = "Images", Extensions = new string[] { "jpg", "png", "gif" } },
/// new FileFiler { Name = "Movies", Extensions = new string[] { "mkv", "avi", "mp4" } },
/// new FileFiler { Name = "Custom File Type", Extensions= new string[] {"as" } },
/// new FileFiler { Name = "All Files", Extensions= new string[] { "*" } }
/// }
///
///
public FileFilter[] Filters { get; set; }
///
/// Message to display above text fields.
///
public string Message { get; set; }
///
/// Custom label for the text displayed in front of the filename text field.
///
public string NameFieldLabel { get; set; }
///
/// Show the tags input box, defaults to true.
///
public bool ShowsTagField { get; set; }
}
}