TabularDataReport.FromPropertyItem method
namespace: Serenity.Reporting assembly: Serenity.Net.Services
Creates a ReportColumn
from a PropertyItem
public static ReportColumn FromPropertyItem(PropertyItem item, Field field, PropertyInfo property,
IServiceProvider provider, ITextLocalizer localizer)
parameter | description |
---|---|
item | Property item |
field | Optional field object |
property | PropertyInfo if any |
provider | Service provider |
localizer | Text localizer |
Exceptions
exception | condition |
---|---|
ArgumentNullException | item or localizer is null |
See Also
- class ReportColumn
- class PropertyItem
- class Field
- interface ITextLocalizer
- class TabularDataReport