1using System.Collections.ObjectModel;
2using System.ComponentModel;
3using Microsoft.Maui.Controls.Shapes;
12 public class ContractCategoryModel(string Category, ICollection<
ContractModel> Contracts) : ObservableCollection<ContractModel>, INotifyPropertyChanged
14 private bool expanded;
19 public string Category {
get; } = Category;
24 public ICollection<ContractModel> Contracts {
get; } = Contracts;
29 public int NrContracts => this.Contracts.Count;
39 if (this.expanded != value)
41 this.expanded = value;
43 this.OnPropertyChanged(
new PropertyChangedEventArgs(nameof(this.Expanded)));
44 this.OnPropertyChanged(
new PropertyChangedEventArgs(nameof(this.Symbol)));
Static class containing SVG Paths for symbols used in the app.
static readonly Geometry FolderClosedPath
Closed folder
The data model for a contract.