Browse Source
fix: make ManagedFileChooserViewModel FileName and Location public so user can modify. (#13096)
Co-authored-by: rabbitism <dongbin@irihi.tech>
Co-authored-by: Max Katz <maxkatz6@outlook.com>
pull/13106/head
Dong Bin
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
src/Avalonia.Dialogs/Internal/ManagedFileChooserViewModel.cs
|
|
@ -46,13 +46,13 @@ namespace Avalonia.Dialogs.Internal |
|
|
public string Location |
|
|
public string Location |
|
|
{ |
|
|
{ |
|
|
get => _location; |
|
|
get => _location; |
|
|
private set => this.RaiseAndSetIfChanged(ref _location, value); |
|
|
set => this.RaiseAndSetIfChanged(ref _location, value); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public string FileName |
|
|
public string FileName |
|
|
{ |
|
|
{ |
|
|
get => _fileName; |
|
|
get => _fileName; |
|
|
private set => this.RaiseAndSetIfChanged(ref _fileName, value); |
|
|
set => this.RaiseAndSetIfChanged(ref _fileName, value); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public bool SelectingFolder => _selectingDirectory; |
|
|
public bool SelectingFolder => _selectingDirectory; |
|
|
|