FilePickerStrings class
Namespace: Arlecchino.Hosting · Assembly: Arlecchino
Text of the file picker: labels, column headers, and the three formatters.
public sealed class FilePickerStrings
Constructors
| Member | Summary |
|---|---|
FilePickerStrings() |
Properties
| Member | Summary |
|---|---|
ColumnDateModified | Header of the modification date column. |
ColumnKind | Header of the kind column. |
ColumnName | Header of the name column. |
ColumnSize | Header of the size column. |
DateModified | Formats a modification date. The default says Today at 9:41 and Yesterday at 9:41 before falling back to a full date. |
Drives | The drive list, shown as a place and as the location above every drive. |
Favorites | Heading above the user folders in the sidebar. |
FileMode | Shown beside the title when the picker is choosing a file. |
FolderMode | Shown beside the title when the picker is choosing a folder. |
HintCancel | Legend entry for leaving without picking anything. |
HintFilter | Legend entry for filtering by typing. |
HintMove | Legend entry for moving through the list. |
HintOpen | Legend entry for entering the folder under the cursor. |
HintOpenFolder | Legend entry for opening a folder while picking folders. |
HintOpenFolderOrPickFile | Legend entry for the key that opens a folder or picks a file. |
HintPickCurrentFolder | Legend entry for picking the folder that is open. |
HintPlaces | Legend entry for switching to the sidebar of places. |
HintUp | Legend entry for going to the parent folder. |
ItemCount | How many entries the current folder shows, on the status row. |
KindFolder | Kind shown for a directory. |
KindOf | Turns a file extension into a readable kind. The default knows the common ones and falls back to XYZ file. |
KindVolume | Kind shown for a drive. |
Locations | Heading above the home folder and the drives. |
Search | Label of the filter field in the toolbar. |
Size | Formats a file size. The default scales to KB, MB and up, and shows -- for something with no size, such as a folder. |
Title | Title used when a request does not carry one of its own. |
Constructors in detail
FilePickerStrings()
public FilePickerStrings();
Properties in detail
ColumnDateModified
public Func<string> ColumnDateModified { get; set; }
Header of the modification date column.
Type Func<TResult><string>
ColumnKind
public Func<string> ColumnKind { get; set; }
Header of the kind column.
Type Func<TResult><string>
ColumnName
public Func<string> ColumnName { get; set; }
Header of the name column.
Type Func<TResult><string>
ColumnSize
public Func<string> ColumnSize { get; set; }
Header of the size column.
Type Func<TResult><string>
DateModified
public Func<DateTime, string> DateModified { get; set; }
Formats a modification date. The default says Today at 9:41 and Yesterday at 9:41 before falling back to a full date.
Type Func<T, TResult><DateTime, string>
Drives
public Func<string> Drives { get; set; }
The drive list, shown as a place and as the location above every drive.
Type Func<TResult><string>
Favorites
public Func<string> Favorites { get; set; }
Heading above the user folders in the sidebar.
Type Func<TResult><string>
FileMode
public Func<string> FileMode { get; set; }
Shown beside the title when the picker is choosing a file.
Type Func<TResult><string>
FolderMode
public Func<string> FolderMode { get; set; }
Shown beside the title when the picker is choosing a folder.
Type Func<TResult><string>
HintCancel
public Func<string> HintCancel { get; set; }
Legend entry for leaving without picking anything.
Type Func<TResult><string>
HintFilter
public Func<string> HintFilter { get; set; }
Legend entry for filtering by typing.
Type Func<TResult><string>
HintMove
public Func<string> HintMove { get; set; }
Legend entry for moving through the list.
Type Func<TResult><string>
HintOpen
public Func<string> HintOpen { get; set; }
Legend entry for entering the folder under the cursor.
Type Func<TResult><string>
HintOpenFolder
public Func<string> HintOpenFolder { get; set; }
Legend entry for opening a folder while picking folders.
Type Func<TResult><string>
HintOpenFolderOrPickFile
public Func<string> HintOpenFolderOrPickFile { get; set; }
Legend entry for the key that opens a folder or picks a file.
Type Func<TResult><string>
HintPickCurrentFolder
public Func<string> HintPickCurrentFolder { get; set; }
Legend entry for picking the folder that is open.
Type Func<TResult><string>
HintPlaces
public Func<string> HintPlaces { get; set; }
Legend entry for switching to the sidebar of places.
Type Func<TResult><string>
HintUp
public Func<string> HintUp { get; set; }
Legend entry for going to the parent folder.
Type Func<TResult><string>
ItemCount
public Func<int, string> ItemCount { get; set; }
How many entries the current folder shows, on the status row.
Type Func<T, TResult><int, string>
KindFolder
public Func<string> KindFolder { get; set; }
Kind shown for a directory.
Type Func<TResult><string>
KindOf
public Func<string, string> KindOf { get; set; }
Turns a file extension into a readable kind. The default knows the common ones and falls back to XYZ file.
Type Func<T, TResult><string, string>
KindVolume
public Func<string> KindVolume { get; set; }
Kind shown for a drive.
Type Func<TResult><string>
Locations
public Func<string> Locations { get; set; }
Heading above the home folder and the drives.
Type Func<TResult><string>
Search
public Func<string> Search { get; set; }
Label of the filter field in the toolbar.
Type Func<TResult><string>
Size
public Func<long, string> Size { get; set; }
Formats a file size. The default scales to KB, MB and up, and shows -- for something with no size, such as a folder.
Type Func<T, TResult><long, string>
Title
public Func<string> Title { get; set; }
Title used when a request does not carry one of its own.
Type Func<TResult><string>