Class FileDialogStyle
Stores style settings for FileDialog.
public class FileDialogStyle
- Inheritance
-
FileDialogStyle
- Inherited Members
Constructors
- FileDialogStyle(IFileSystem)
Creates a new instance of the FileDialogStyle class.
Properties
- CancelButtonText
Gets or sets the text on the 'Cancel' button.
- ColorProvider
Gets or sets the class that is responsible for determining which color to use to represent files and directories when UseColors is true.
- Culture
Gets or sets the culture to use (e.g. for number formatting). Defaults to CurrentUICulture.
- DateFormat
Gets or sets the format to use for date/times in the Modified column. Defaults to SortableDateTimePattern of the CurrentCulture
- DefaultUseColors
Gets or sets the default value to use for UseColors. This can be populated from .tui config files via ConfigurationManager
- DefaultUseUnicodeCharacters
Gets or sets the default value to use for UseUnicodeCharacters. This can be populated from .tui config files via ConfigurationManager
- DirectoryAlreadyExistsFeedback
Gets or sets error message when user OpenMode is File and user enters the name of an existing directory (File system cannot have a folder with the same name as a file).
- DirectoryMustExistFeedback
Gets or sets error message when user selects a directory that does not exist and OpenMode is Directory and MustExist is true.
- FileAlreadyExistsFeedback
Gets or sets error message when user OpenMode is Directory and user enters the name of an existing file (File system cannot have a folder with the same name as a file).
- FileMustExistFeedback
Gets or sets error message when user selects a file that does not exist and OpenMode is File and MustExist is true.
- FileOrDirectoryMustExistFeedback
Gets or sets error message when user selects a file/dir that does not exist and OpenMode is Mixed and MustExist is true.
- FilenameColumnName
Gets or sets the header text displayed in the Filename column of the files table.
- FlipOkCancelButtonLayoutOrder
Gets or sets whether to flip the order of the Ok and Cancel buttons. Defaults to false (Ok button then Cancel button). Set to true to show Cancel button on left then Ok button instead.
- IconProvider
Gets or sets the class responsible for determining which symbol to use to represent files and directories.
- ModifiedColumnName
Gets or sets the header text displayed in the Modified column of the files table.
- OkButtonText
Gets or sets the text on the 'Ok' button. Typically, you may want to change this to "Open" or "Save" etc.
- PathCaption
Gets or sets the text displayed in the 'Path' text box when user has not supplied any input yet.
- SearchCaption
Gets or sets the text displayed in the 'Search' text box when user has not supplied any input yet.
- SizeColumnName
Gets or sets the header text displayed in the Size column of the files table.
- TableStyle
Gets the style settings for the table of files (in currently selected directory).
- TreeRootGetter
Gets or Sets the method for getting the root tree objects that are displayed in the collapse-able tree in the FileDialog. Defaults to all accessible GetLogicalDrives() and unique Environment.SpecialFolder.
- TreeStyle
Gets the style settings for the collapse-able directory/places tree
- TypeColumnName
Gets or sets the header text displayed in the Type column of the files table.
- UseColors
Gets or Sets a value indicating whether different colors should be used for different file types/directories. Defaults to false.
- UseUnicodeCharacters
Gets or sets whether to use advanced unicode characters which might not be installed on all users computers.
- WrongFileTypeFeedback
Gets or sets error message when user attempts to select a file type that is not one of AllowedTypes