Files
GotecHaftmittel/.svn/pristine/40/401f776e3ac8518ad12ede24694668d425aaea58.svn-base
2025-10-31 12:50:24 +01:00

50 lines
1.2 KiB
Plaintext

using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace Haftmittel
{
public class Obrazek : INotifyPropertyChanged
{
private bool _jest = false;
private List<Historia> _hist;
private string opis = string.Empty;
public bool Widoczny
{
get => _jest;
set
{
_jest = value;
OnPropertyChanged();
}
}
public string Opis
{
get => opis;
set
{
opis = value;
OnPropertyChanged();
}
}
public List<Historia> HistoriaObrazka
{
get => _hist;
set
{
_hist = value;
OnPropertyChanged();
}
}
#region Obsługa INotifyPropertyChanged
public event PropertyChangedEventHandler PropertyChanged;
protected void OnPropertyChanged([CallerMemberName] string name = null) => PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(name));
#endregion
}
}