public ChaEdit(Cha ViewItem) { this.ViewItem = ViewItem; InitializeComponent(); DataContext = this; ListInventory.Columns[0].IsReadOnly = true; }
// ---------------- Constructors ---------------- ---------------- // public ChaEdit() { ViewItem = new Cha(); InitializeComponent(); DataContext = this; ListInventory.Columns[0].IsReadOnly = true; }