示例#1
0
 public JsonToolBar(ToolBarSettings settings)
 {
     this.edit = settings.ShowEditButton;
     this.add = settings.ShowAddButton;
     this.del = settings.ShowDeleteButton;
     this.search = settings.ShowSearchButton;
     this.refresh = settings.ShowRefreshButton;
     this.view = settings.ShowViewRowDetailsButton;
     this.position = settings.ToolBarAlign.ToString().ToLower();
     this.cloneToTop = true;
 }