Example #1
0
        public StyleBuilder <T> SetPropertyGroupMember(string prefix, string memberName, object value, StyleOverrideOptions options = StyleOverrideOptions.Overwrite)
        {
            var prop = DotvvmPropertyGroup.GetPropertyGroups(typeof(T)).Single(p => p.Prefixes.Contains(prefix));

            return(SetDotvvmProperty(prop.GetDotvvmProperty(memberName), value, options));
        }
Example #2
0
        public StyleBuilder <T> SetPropertyGroupMember(string prefix, string memberName, object value, bool append = true)
        {
            var prop = DotvvmPropertyGroup.GetPropertyGroups(typeof(T)).Single(p => p.Prefixes.Contains(prefix));

            return(SetDotvvmProperty(prop.GetDotvvmProperty(memberName), value, append));
        }