Skip to main content

FilePickerStrings class

Namespace: Arlecchino.Hosting · Assembly: Arlecchino

Text of the file picker: labels, column headers, and the three formatters.

public sealed class FilePickerStrings

Constructors

MemberSummary
FilePickerStrings()

Properties

MemberSummary
ColumnDateModifiedHeader of the modification date column.
ColumnKindHeader of the kind column.
ColumnNameHeader of the name column.
ColumnSizeHeader of the size column.
DateModifiedFormats a modification date. The default says Today at 9:41 and Yesterday at 9:41 before falling back to a full date.
DrivesThe drive list, shown as a place and as the location above every drive.
FavoritesHeading above the user folders in the sidebar.
FileModeShown beside the title when the picker is choosing a file.
FolderModeShown beside the title when the picker is choosing a folder.
HintCancelLegend entry for leaving without picking anything.
HintFilterLegend entry for filtering by typing.
HintMoveLegend entry for moving through the list.
HintOpenLegend entry for entering the folder under the cursor.
HintOpenFolderLegend entry for opening a folder while picking folders.
HintOpenFolderOrPickFileLegend entry for the key that opens a folder or picks a file.
HintPickCurrentFolderLegend entry for picking the folder that is open.
HintPlacesLegend entry for switching to the sidebar of places.
HintUpLegend entry for going to the parent folder.
ItemCountHow many entries the current folder shows, on the status row.
KindFolderKind shown for a directory.
KindOfTurns a file extension into a readable kind. The default knows the common ones and falls back to XYZ file.
KindVolumeKind shown for a drive.
LocationsHeading above the home folder and the drives.
SearchLabel of the filter field in the toolbar.
SizeFormats a file size. The default scales to KB, MB and up, and shows -- for something with no size, such as a folder.
TitleTitle 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>

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>