public MasterPreViewModel(IMaster widget) { //Infra Structure _model = new MasterModel(widget, true); //IsImgConvertType = false; (_model as MasterModel).LoadAllChildrenWidgets(); }
public MasterViewModel(IMaster master) { _masterModel = new MasterModel(master, false); _master = master as IMaster; _bSupportBorder = false; _bSupportBackground = false; _bSupportText = false; _bSupportTextVerAlign = false; _bSupportTextHorAlign = false; _bSupportGradientBackground = false; _bSupportGradientBorderline = false; _bSupportRotate = false; _bSupportTextRotate = false; widgetGID = master.Guid; WidgetTypeName = @"Master"; _ListEventAggregator.GetEvent <RefreshWidgetChildPageEvent>().Subscribe(RefreshWidgetPageUIHandler); _ListEventAggregator.GetEvent <CloseWidgetPageEvent>().Subscribe(CloseWidgetPageHandler); }