@@ -92,123 +92,123 @@ public bool IsSortedDescending
92
92
public bool IsSortedByName
93
93
{
94
94
get => InstanceViewModel . FolderSettings . DirectorySortOption == SortOption . Name ;
95
- set { if ( value ) InstanceViewModel . FolderSettings . DirectorySortOption = SortOption . Name ; }
95
+ set { if ( value ) InstanceViewModel . FolderSettings . DirectorySortOption = SortOption . Name ; OnPropertyChanged ( ) ; }
96
96
}
97
97
98
98
public bool IsSortedByDateModified
99
99
{
100
100
get => InstanceViewModel . FolderSettings . DirectorySortOption == SortOption . DateModified ;
101
- set { if ( value ) InstanceViewModel . FolderSettings . DirectorySortOption = SortOption . DateModified ; }
101
+ set { if ( value ) InstanceViewModel . FolderSettings . DirectorySortOption = SortOption . DateModified ; OnPropertyChanged ( ) ; }
102
102
}
103
103
104
104
public bool IsSortedByDateCreated
105
105
{
106
106
get => InstanceViewModel . FolderSettings . DirectorySortOption == SortOption . DateCreated ;
107
- set { if ( value ) InstanceViewModel . FolderSettings . DirectorySortOption = SortOption . DateCreated ; }
107
+ set { if ( value ) InstanceViewModel . FolderSettings . DirectorySortOption = SortOption . DateCreated ; OnPropertyChanged ( ) ; }
108
108
}
109
109
110
110
public bool IsSortedBySize
111
111
{
112
112
get => InstanceViewModel . FolderSettings . DirectorySortOption == SortOption . Size ;
113
- set { if ( value ) InstanceViewModel . FolderSettings . DirectorySortOption = SortOption . Size ; }
113
+ set { if ( value ) InstanceViewModel . FolderSettings . DirectorySortOption = SortOption . Size ; OnPropertyChanged ( ) ; }
114
114
}
115
115
116
116
public bool IsSortedByType
117
117
{
118
118
get => InstanceViewModel . FolderSettings . DirectorySortOption == SortOption . FileType ;
119
- set { if ( value ) InstanceViewModel . FolderSettings . DirectorySortOption = SortOption . FileType ; }
119
+ set { if ( value ) InstanceViewModel . FolderSettings . DirectorySortOption = SortOption . FileType ; OnPropertyChanged ( ) ; }
120
120
}
121
121
122
122
public bool IsSortedBySyncStatus
123
123
{
124
124
get => InstanceViewModel . FolderSettings . DirectorySortOption == SortOption . SyncStatus ;
125
- set { if ( value ) InstanceViewModel . FolderSettings . DirectorySortOption = SortOption . SyncStatus ; }
125
+ set { if ( value ) InstanceViewModel . FolderSettings . DirectorySortOption = SortOption . SyncStatus ; OnPropertyChanged ( ) ; }
126
126
}
127
127
128
128
public bool IsSortedByOriginalFolder
129
129
{
130
130
get => InstanceViewModel . FolderSettings . DirectorySortOption == SortOption . OriginalFolder ;
131
- set { if ( value ) InstanceViewModel . FolderSettings . DirectorySortOption = SortOption . OriginalFolder ; }
131
+ set { if ( value ) InstanceViewModel . FolderSettings . DirectorySortOption = SortOption . OriginalFolder ; OnPropertyChanged ( ) ; }
132
132
}
133
133
134
134
public bool IsSortedByDateDeleted
135
135
{
136
136
get => InstanceViewModel . FolderSettings . DirectorySortOption == SortOption . DateDeleted ;
137
- set { if ( value ) InstanceViewModel . FolderSettings . DirectorySortOption = SortOption . DateDeleted ; }
137
+ set { if ( value ) InstanceViewModel . FolderSettings . DirectorySortOption = SortOption . DateDeleted ; OnPropertyChanged ( ) ; }
138
138
}
139
139
140
140
public bool IsSortedByFileTag
141
141
{
142
142
get => InstanceViewModel . FolderSettings . DirectorySortOption == SortOption . FileTag ;
143
- set { if ( value ) InstanceViewModel . FolderSettings . DirectorySortOption = SortOption . FileTag ; }
143
+ set { if ( value ) InstanceViewModel . FolderSettings . DirectorySortOption = SortOption . FileTag ; OnPropertyChanged ( ) ; }
144
144
}
145
145
146
146
// Group by
147
147
148
148
public bool IsGroupedByNone
149
149
{
150
150
get => InstanceViewModel . FolderSettings . DirectoryGroupOption == GroupOption . None ;
151
- set { if ( value ) InstanceViewModel . FolderSettings . DirectoryGroupOption = GroupOption . None ; }
151
+ set { if ( value ) InstanceViewModel . FolderSettings . DirectoryGroupOption = GroupOption . None ; OnPropertyChanged ( ) ; }
152
152
}
153
153
154
154
public bool IsGroupedByName
155
155
{
156
156
get => InstanceViewModel . FolderSettings . DirectoryGroupOption == GroupOption . Name ;
157
- set { if ( value ) InstanceViewModel . FolderSettings . DirectoryGroupOption = GroupOption . Name ; }
157
+ set { if ( value ) InstanceViewModel . FolderSettings . DirectoryGroupOption = GroupOption . Name ; OnPropertyChanged ( ) ; }
158
158
}
159
159
160
160
public bool IsGroupedByDateModified
161
161
{
162
162
get => InstanceViewModel . FolderSettings . DirectoryGroupOption == GroupOption . DateModified ;
163
- set { if ( value ) InstanceViewModel . FolderSettings . DirectoryGroupOption = GroupOption . DateModified ; }
163
+ set { if ( value ) InstanceViewModel . FolderSettings . DirectoryGroupOption = GroupOption . DateModified ; OnPropertyChanged ( ) ; }
164
164
}
165
165
166
166
public bool IsGroupedByDateCreated
167
167
{
168
168
get => InstanceViewModel . FolderSettings . DirectoryGroupOption == GroupOption . DateCreated ;
169
- set { if ( value ) InstanceViewModel . FolderSettings . DirectoryGroupOption = GroupOption . DateCreated ; }
169
+ set { if ( value ) InstanceViewModel . FolderSettings . DirectoryGroupOption = GroupOption . DateCreated ; OnPropertyChanged ( ) ; }
170
170
}
171
171
172
172
public bool IsGroupedBySize
173
173
{
174
174
get => InstanceViewModel . FolderSettings . DirectoryGroupOption == GroupOption . Size ;
175
- set { if ( value ) InstanceViewModel . FolderSettings . DirectoryGroupOption = GroupOption . Size ; }
175
+ set { if ( value ) InstanceViewModel . FolderSettings . DirectoryGroupOption = GroupOption . Size ; OnPropertyChanged ( ) ; }
176
176
}
177
177
178
178
public bool IsGroupedByType
179
179
{
180
180
get => InstanceViewModel . FolderSettings . DirectoryGroupOption == GroupOption . FileType ;
181
- set { if ( value ) InstanceViewModel . FolderSettings . DirectoryGroupOption = GroupOption . FileType ; }
181
+ set { if ( value ) InstanceViewModel . FolderSettings . DirectoryGroupOption = GroupOption . FileType ; OnPropertyChanged ( ) ; }
182
182
}
183
183
184
184
public bool IsGroupedBySyncStatus
185
185
{
186
186
get => InstanceViewModel . FolderSettings . DirectoryGroupOption == GroupOption . SyncStatus ;
187
- set { if ( value ) InstanceViewModel . FolderSettings . DirectoryGroupOption = GroupOption . SyncStatus ; }
187
+ set { if ( value ) InstanceViewModel . FolderSettings . DirectoryGroupOption = GroupOption . SyncStatus ; OnPropertyChanged ( ) ; }
188
188
}
189
189
190
190
public bool IsGroupedByOriginalFolder
191
191
{
192
192
get => InstanceViewModel . FolderSettings . DirectoryGroupOption == GroupOption . OriginalFolder ;
193
- set { if ( value ) InstanceViewModel . FolderSettings . DirectoryGroupOption = GroupOption . OriginalFolder ; }
193
+ set { if ( value ) InstanceViewModel . FolderSettings . DirectoryGroupOption = GroupOption . OriginalFolder ; OnPropertyChanged ( ) ; }
194
194
}
195
195
196
196
public bool IsGroupedByDateDeleted
197
197
{
198
198
get => InstanceViewModel . FolderSettings . DirectoryGroupOption == GroupOption . DateDeleted ;
199
- set { if ( value ) InstanceViewModel . FolderSettings . DirectoryGroupOption = GroupOption . DateDeleted ; }
199
+ set { if ( value ) InstanceViewModel . FolderSettings . DirectoryGroupOption = GroupOption . DateDeleted ; OnPropertyChanged ( ) ; }
200
200
}
201
201
202
202
public bool IsGroupedByFileTag
203
203
{
204
204
get => InstanceViewModel . FolderSettings . DirectoryGroupOption == GroupOption . FileTag ;
205
- set { if ( value ) InstanceViewModel . FolderSettings . DirectoryGroupOption = GroupOption . FileTag ; }
205
+ set { if ( value ) InstanceViewModel . FolderSettings . DirectoryGroupOption = GroupOption . FileTag ; OnPropertyChanged ( ) ; }
206
206
}
207
207
208
208
public bool IsGroupedByFolderPath
209
209
{
210
210
get => InstanceViewModel . FolderSettings . DirectoryGroupOption == GroupOption . FolderPath ;
211
- set { if ( value ) InstanceViewModel . FolderSettings . DirectoryGroupOption = GroupOption . FolderPath ; }
211
+ set { if ( value ) InstanceViewModel . FolderSettings . DirectoryGroupOption = GroupOption . FolderPath ; OnPropertyChanged ( ) ; }
212
212
}
213
213
214
214
private bool canCopyPathInPage ;
0 commit comments