public GridMetamodelBuilder() { this.newItemLink = LinkMetamodel.Disabled; this.editLink = LinkMetamodel.Disabled; this.detailsLink = LinkMetamodel.Disabled; this.deleteLink = LinkMetamodel.Disabled; }
public GridMetamodelBuilder <TGridModel> AllowDelete(string text = null) { if (text == null) { text = UiTexts.GridButton_Delete; } this.deleteLink = new LinkMetamodel(true, text); return(this); }
public GridMetamodelBuilder <TGridModel> AllowEdit(string text = null) { if (text == null) { text = UiTexts.GridButton_Edit; } this.editLink = new LinkMetamodel(true, text); return(this); }
public GridMetamodelBuilder <TGridModel> AllowNew(string text = null) { if (text == null) { text = UiTexts.GridButton_Create; } this.newItemLink = new LinkMetamodel(true, text); return(this); }