Drag & Drop only for moving items

This commit is contained in:
2026-02-16 13:16:32 +09:00
parent 8484ec4023
commit e19359755e
3 changed files with 5 additions and 49 deletions
-15
View File
@@ -6,9 +6,6 @@ namespace ReceiptPDFBuilder.Models;
class ReportFile : ChangeNotifier
{
private bool _isMoveUpEnabled = false;
private bool _isMoveDownEnabled = false;
private string _title;
private DateOnly _date;
private DateTime _dateTime;
@@ -78,16 +75,4 @@ class ReportFile : ChangeNotifier
{
get => Path.GetFileName(_filePath);
}
public bool IsMoveUpEnabled
{
get => _isMoveUpEnabled;
set { _isMoveUpEnabled = value; NotifyPropertyChanged(); }
}
public bool IsMoveDownEnabled
{
get => _isMoveDownEnabled;
set { _isMoveDownEnabled = value; NotifyPropertyChanged(); }
}
}