|
FileSurfer 2.1.2
Cross-platform file manager with support for Git and SFTP
|
The SettingsWindowViewModel is the ViewModel for the Views.SettingsWindow. More...


Public Member Functions | |
| SettingsWindowViewModel (SettingsRecord settings) | |
| Initializes the settings view model with the provided settings. | |
| SettingsWindowViewModel () | |
| Initializes the settings view model with the current persisted settings. | |
| SettingsRecord | ExtractSettings () |
| Extracts the current settings saved in this view model. | |
| void | Save (SettingsRecord settings) |
| Saves current values using FileSurferSettings.ImportSettings(SettingsRecord). | |
| void | ResetToDefault () |
| Resets current values to default. | |
Properties | |
| bool | IsWindows = OperatingSystem.IsWindows() [get] |
| Gets whether the application is currently running on Windows. | |
| string | NewImageName [get, set] |
| Gets or sets the default name used for newly created image files. | |
| string | NewTextFileName [get, set] |
| Gets or sets the default name used for newly created text files. | |
| string | NewFileName [get, set] |
| Gets or sets the default name used for newly created files. | |
| string | NewDirectoryName [get, set] |
| Gets or sets the default name used for newly created directories. | |
| string | NotepadApp [get, set] |
| Gets or sets the configured text editor executable path. | |
| string | NotepadAppArgs [get, set] |
| Gets or sets command-line arguments for the configured text editor. | |
| string | Terminal [get, set] |
| Gets or sets the configured terminal executable path. | |
| string | TerminalArgs [get, set] |
| Gets or sets command-line arguments for the configured terminal application. | |
| bool | OpenInLastLocation [get, set] |
| Gets or sets whether startup should reopen the previous location. | |
| string | OpenIn [get, set] |
| Gets or sets the fallback startup directory. | |
| bool | UseDarkMode [get, set] |
| Gets or sets whether dark theme is enabled. | |
| string | DisplayMode [get, set] |
| Gets or sets the selected file display mode. | |
| IEnumerable< string > | DisplayModeOptions [get] |
| Gets available display mode options. | |
| string | DefaultSort [get, set] |
| Gets or sets the selected default sort field. | |
| IEnumerable< string > | SortOptions [get] |
| Gets available sort field options. | |
| int? | FileSizeUnitLimit [get, set] |
| Gets or sets the file-size threshold used for unit formatting. | |
| int | FileSizeUnitLimitLowerBound [get] |
| Gets the minimum allowed value for FileSizeUnitLimit. | |
| int | FileSizeUnitLimitUpperBound [get] |
| Gets the maximum allowed value for FileSizeUnitLimit. | |
| bool | SortReversed [get, set] |
| Gets or sets whether sorting order is reversed. | |
| bool | ShowSpecialFolders [get, set] |
| Gets or sets whether special folders are shown in the sidebar. | |
| bool | ShowProtectedFiles [get, set] |
| Gets or sets whether protected files are displayed. | |
| bool | ShowHiddenFiles [get, set] |
| Gets or sets whether hidden files are displayed. | |
| bool | TreatDotFilesAsHidden [get, set] |
| Gets or sets whether dot-prefixed files are treated as hidden. | |
| bool | GitIntegration [get, set] |
| Gets or sets whether Git integration features are enabled. | |
| bool | ShowUndoRedoErrorDialogs [get, set] |
| Gets or sets whether undo/redo error dialogs are shown. | |
| bool | AutomaticRefresh [get, set] |
| Gets or sets whether automatic refresh is enabled. | |
| int? | AutomaticRefreshInterval [get, set] |
| Gets or sets the automatic refresh interval in milliseconds. | |
| int | AutomaticRefreshIntervalLowerBound [get] |
| Gets the minimum allowed value for AutomaticRefreshInterval. | |
| int | AutomaticRefreshIntervalUpperBound [get] |
| Gets the maximum allowed value for AutomaticRefreshInterval. | |
| int? | SynchronizerPollingInterval [get, set] |
| Gets or sets the polling interval for SFTP synchronization in milliseconds. | |
| int | SynchronizerPollingIntervalLowerBound [get] |
| Gets the minimum allowed value for SynchronizerPollingInterval. | |
| int | SynchronizerPollingIntervalUpperBound [get] |
| Gets the maximum allowed value for SynchronizerPollingInterval. | |
The SettingsWindowViewModel is the ViewModel for the Views.SettingsWindow.
|
inline |
Initializes the settings view model with the provided settings.
|
inline |
Initializes the settings view model with the current persisted settings.
|
inline |
Extracts the current settings saved in this view model.
|
inline |
Resets current values to default.
|
inline |
Saves current values using FileSurferSettings.ImportSettings(SettingsRecord).
|
getset |
Gets or sets whether automatic refresh is enabled.
|
getset |
Gets or sets the automatic refresh interval in milliseconds.
|
get |
Gets the minimum allowed value for AutomaticRefreshInterval.
|
get |
Gets the maximum allowed value for AutomaticRefreshInterval.
|
getset |
Gets or sets the selected default sort field.
|
getset |
Gets or sets the selected file display mode.
|
get |
Gets available display mode options.
|
getset |
Gets or sets the file-size threshold used for unit formatting.
|
get |
Gets the minimum allowed value for FileSizeUnitLimit.
|
get |
Gets the maximum allowed value for FileSizeUnitLimit.
|
getset |
Gets or sets whether Git integration features are enabled.
|
get |
Gets whether the application is currently running on Windows.
|
getset |
Gets or sets the default name used for newly created directories.
|
getset |
Gets or sets the default name used for newly created files.
|
getset |
Gets or sets the default name used for newly created image files.
|
getset |
Gets or sets the default name used for newly created text files.
|
getset |
Gets or sets the configured text editor executable path.
|
getset |
Gets or sets command-line arguments for the configured text editor.
|
getset |
Gets or sets the fallback startup directory.
|
getset |
Gets or sets whether startup should reopen the previous location.
|
getset |
Gets or sets whether hidden files are displayed.
|
getset |
Gets or sets whether protected files are displayed.
|
getset |
Gets or sets whether special folders are shown in the sidebar.
|
getset |
Gets or sets whether undo/redo error dialogs are shown.
|
get |
Gets available sort field options.
|
getset |
Gets or sets whether sorting order is reversed.
|
getset |
Gets or sets the polling interval for SFTP synchronization in milliseconds.
|
get |
Gets the minimum allowed value for SynchronizerPollingInterval.
|
get |
Gets the maximum allowed value for SynchronizerPollingInterval.
|
getset |
Gets or sets the configured terminal executable path.
|
getset |
Gets or sets command-line arguments for the configured terminal application.
|
getset |
Gets or sets whether dot-prefixed files are treated as hidden.
|
getset |
Gets or sets whether dark theme is enabled.