public ImageControlController(IMainWindow _mainWindowController) { ClsModel = new ImageControlModel(this); PclsImageControlModel.MainWindow = _mainWindowController; ClsViewModel = new ImageControlViewModel(PclsImageControlModel); ClsUIObject = new UIImageControl(); _ImageStyleResource = new ImageStyleResource(); PclsImageControlView.DataContext = PclsImageControlViewModel; PclsImageControlViewModel.PropertyChanged += PclsImageControlViewModel_PropertyChanged; }
public ImageControlViewModel(ImageControlModel imageControlModel) : base(imageControlModel) { PclsImageControlModel.PropertyChanged += _clsImageControlModel_PropertyChanged; _blnScrollVisibilityOverride = false; }