Beispiel #1
0
 public virtual void addColumn(ViewColumn column)
 {
     if (column != null && !this.columns.Contains(column))
     {
         this.columns.Add(column);
     }
 }
        public static ViewColumn createViewColumn(View viewModel, TObjectName column, int index)
        {
            if (ModelBindingManager.getViewModel(column) is ViewColumn)
            {
                return((ViewColumn)ModelBindingManager.getViewModel(column));
            }
            ViewColumn columnModel = new ViewColumn(viewModel, column, index);

            ModelBindingManager.bindViewModel(column, columnModel);
            return(columnModel);
        }