Example #1
0
        public MasterWidgetViewModel(IMaster master)
        {
            _model                      = new MasterWidgetModel(master, false);
            _bSupportBorder             = false;
            _bSupportBackground         = false;
            _bSupportText               = false;
            _bSupportTextVerAlign       = false;
            _bSupportTextHorAlign       = false;
            _bSupportGradientBackground = false;
            _bSupportGradientBorderline = false;
            _bSupportRotate             = false;
            _bSupportTextRotate         = false;

            widgetGID     = master.Guid;
            _masterPageID = master.MasterPageGuid;
            Type          = ObjectType.Master;

            //MASTER TOD:
            //_ListEventAggregator.GetEvent<RefreshWidgetChildPageEvent>().Subscribe(RefreshWidgetPageUIHandler);
        }
 public MasterWidgetPreViewModel(IMaster master)
     : base(master)
 {
     _model = new MasterWidgetModel(master, false);
 }