The PropertiesWindowViewModel is the ViewModel for the PropertiesWindow.
More...
|
| | PropertiesWindowViewModel (FileSystemEntryViewModel entry, string permissions) |
| | Creates a properties window view model and translates raw POSIX-style permission bits into user-facing permission descriptions.
|
| void | Show () |
| | Opens or shows the underlying visual representation.
|
|
| FileSystemEntryViewModel | EntryVm [get] |
| | Gets the file-system entry view model displayed by the properties window.
|
| required string | Size [get] |
| | Gets the formatted size string shown in the properties window.
|
| string? | DateCreatedStr = null [get] |
| | Gets the formatted creation timestamp string.
|
| required DateTime | DateCreated |
| | Sets the raw creation date used to populate DateCreatedStr.
|
| string? | DateAccessedStr = null [get] |
| | Gets the formatted last-access timestamp string.
|
| required DateTime | DateAccessed |
| | Sets the raw last-access date used to populate DateAccessedStr.
|
| string? | DateModifiedStr = null [get] |
| | Gets the formatted last-modified timestamp string.
|
| required DateTime | DateModified |
| | Sets the raw last-modified date used to populate DateModifiedStr.
|
| required string | Owner [get] |
| | Gets the owner string displayed in the properties window.
|
| string | PermissionsOwner [get] |
| | Gets the human-readable permission description for the owner.
|
| string | PermissionsGroup [get] |
| | Gets the human-readable permission description for the group.
|
| string | PermissionsOther [get] |
| | Gets the human-readable permission description for others.
|
◆ PropertiesWindowViewModel()
| FileSurfer.Core.ViewModels.PropertiesWindowViewModel.PropertiesWindowViewModel |
( |
FileSystemEntryViewModel | entry, |
|
|
string | permissions ) |
|
inline |
Creates a properties window view model and translates raw POSIX-style permission bits into user-facing permission descriptions.
- Parameters
-
| entry | The file-system entry the properties view model represents. |
| permissions | A nine-character permission string in rwx form (for owner, group, and others). |
◆ Show()
| void FileSurfer.Core.ViewModels.PropertiesWindowViewModel.Show |
( |
| ) |
|
|
inline |
◆ DateAccessed
| required DateTime FileSurfer.Core.ViewModels.PropertiesWindowViewModel.DateAccessed |
◆ DateAccessedStr
| string? FileSurfer.Core.ViewModels.PropertiesWindowViewModel.DateAccessedStr = null |
|
get |
Gets the formatted last-access timestamp string.
◆ DateCreated
| required DateTime FileSurfer.Core.ViewModels.PropertiesWindowViewModel.DateCreated |
◆ DateCreatedStr
| string? FileSurfer.Core.ViewModels.PropertiesWindowViewModel.DateCreatedStr = null |
|
get |
Gets the formatted creation timestamp string.
◆ DateModified
| required DateTime FileSurfer.Core.ViewModels.PropertiesWindowViewModel.DateModified |
◆ DateModifiedStr
| string? FileSurfer.Core.ViewModels.PropertiesWindowViewModel.DateModifiedStr = null |
|
get |
Gets the formatted last-modified timestamp string.
◆ EntryVm
Gets the file-system entry view model displayed by the properties window.
◆ Owner
| required string FileSurfer.Core.ViewModels.PropertiesWindowViewModel.Owner |
|
get |
Gets the owner string displayed in the properties window.
◆ PermissionsGroup
| string FileSurfer.Core.ViewModels.PropertiesWindowViewModel.PermissionsGroup |
|
get |
Gets the human-readable permission description for the group.
◆ PermissionsOther
| string FileSurfer.Core.ViewModels.PropertiesWindowViewModel.PermissionsOther |
|
get |
Gets the human-readable permission description for others.
◆ PermissionsOwner
| string FileSurfer.Core.ViewModels.PropertiesWindowViewModel.PermissionsOwner |
|
get |
Gets the human-readable permission description for the owner.
◆ Size
| required string FileSurfer.Core.ViewModels.PropertiesWindowViewModel.Size |
|
get |
Gets the formatted size string shown in the properties window.
The documentation for this class was generated from the following file: