protected override void OnInitialized() { // first render if (!render) { PropertyList.AddRange(typeof(TModel).GetProperties().Where(prop => prop.GetCustomAttribute <IgnoreAttribute>() == null && prop.GetCustomAttribute <IgnoreDetailAttribute>() == null)); } }