Esempio n. 1
0
        public override IEnumerable <TemplateViewModel> PartEditorUpdate(ContentPartDefinitionBuilder builder, IUpdateModel updateModel)
        {
            var model = new ContentPartLayoutSettings();

            updateModel.TryUpdateModel(model, "ContentPartLayoutSettings", null, null);
            builder.Placeable(model.Placeable);
            yield return(DefinitionTemplate(model));
        }
 public override IEnumerable<TemplateViewModel> PartEditorUpdate(ContentPartDefinitionBuilder builder, IUpdateModel updateModel) {
     var model = new ContentPartLayoutSettings();
     updateModel.TryUpdateModel(model, "ContentPartLayoutSettings", null, null);
     builder.Placable(model.Placable);
     yield return DefinitionTemplate(model);
 }