public SourceItemViewModel(Source src, Mod mod, MainViewModel parent) { this.src = src; this.mod = mod; this.src.PropertyChanged += Src_PropertyChanged; this.mod.PropertyChanged += Mod_PropertyChanged; CheckState = new CheckSourceStateCommand(this, mod, parent); UpdateRelativeState(false); OpenSource.Update(); }