private void SelectionChangeEventHandler(string EventArg) { FirePropertyChanged("Top"); FirePropertyChanged("Left"); FirePropertyChanged("Width"); FirePropertyChanged("Height"); FirePropertyChanged("Content"); FirePropertyChanged("RotateAngle"); // FirePropertyChanged("Name"); // FirePropertyChanged("Type"); FirePropertyChanged("Opacity"); FirePropertyChanged("IsHidden"); FirePropertyChanged("ImgSource"); FirePropertyChanged("Tooltip"); if (_model.GetWidgetsNumber() <= 0) { CanEdit = false; return; } else { CanEdit = true; } if (_model.IsCanRotate()) { CanRotatEdit = true; } else { CanRotatEdit = false; } if (_model.IsCanEditImage()) { CanEditImg = true; } else { CanEditImg = false; } }