public void AddClonedItem2Dom(IRegion cloneItem) { if (_activeView == null) { return; } IsDirty = true; if (cloneItem is IWidget) { _activeView.AddWidget(cloneItem as IWidget); } else if (cloneItem is IMaster) { _activeView.AddMaster(cloneItem as IMaster); } }