public virtual void InitEntity <T>(T entity, IEnumerable <BindPropertyInfo> detailsInfo) { // fill properties GridFiller.FillGrid(gridDetails, detailsInfo); // init data context gridDetails.DataContext = entity; }
public virtual void InitEntity <T>(T entity, IEnumerable <BindPropertyInfo> detailsInfo) { // fill properties GridFiller.FillGrid(gridDetails, detailsInfo); // init data context gridDetails.DataContext = entity; }