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
parent
commit
2134927688
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/Avalonia.Dialogs/Internal/ManagedFileChooserViewModel.cs

4
src/Avalonia.Dialogs/Internal/ManagedFileChooserViewModel.cs

@ -46,13 +46,13 @@ namespace Avalonia.Dialogs.Internal
public string Location
{
get => _location;
private set => this.RaiseAndSetIfChanged(ref _location, value);
set => this.RaiseAndSetIfChanged(ref _location, value);
}
public string FileName
{
get => _fileName;
private set => this.RaiseAndSetIfChanged(ref _fileName, value);
set => this.RaiseAndSetIfChanged(ref _fileName, value);
}
public bool SelectingFolder => _selectingDirectory;

Loading…
Cancel
Save