Drag & Drop only for moving items
This commit is contained in:
@@ -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(); }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user