public DataGridCellBuilder <TItem, TProperty> Property <TProperty>(Expression <Func <TItem, TProperty> > selector) { var cellBuilder = new DataGridCellBuilder <TItem, TProperty>(selector, this); AddAction(cellBuilder.ExecuteActions); return(cellBuilder); }
public DataGridCellBuilder <TItem, TProperty> Property <TProperty>(string propertyName, Func <TItem, TProperty> selectorFun, Action <TItem, object?> setFunc) { var cellBuilder = new DataGridCellBuilder <TItem, TProperty>(propertyName, selectorFun, setFunc, this); AddAction(cellBuilder.ExecuteActions); return(cellBuilder); }