Example #1
0
        private IGridViewColumn bind <T>(Expression <Func <DataColumnDTO, T> > propertyToBindTo, BrowserColumns browserColumn)
        {
            var column = _gridViewBinder.Bind(propertyToBindTo)
                         .AsReadOnly();

            column.XtraColumn.Tag = browserColumn.ToString();
            return(column);
        }
 public GridColumnSettings ColumnSettingsFor(BrowserColumns browserColumn) => _dataBrowserPresenter.ColumnSettings(browserColumn.ToString());