Beispiel #1
0
        public SpouseSettingsGroupVM(SpouseSettingGroup settingGroup)
        {
            SettingGroup            = settingGroup;
            this._settingProperties = new MBBindingList <SpouseSettingsPropertyVM>();
            List <SpouseSettingsProperty> list = settingGroup.SettingsProperties;

            list.ForEach((obj) => {
                this._settingProperties.Add(new SpouseSettingsPropertyVM(obj));
            });
            this.RefreshValues();
        }
Beispiel #2
0
        public SpouseSettingGroup BuildGroup(String name)
        {
            if (null == Group)
            {
                Group = new List <SpouseSettingGroup>();
            }
            SpouseSettingGroup settingGroup = new SpouseSettingGroup(name);

            this.Group.Add(settingGroup);
            return(settingGroup);
        }