[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.PageReportModel.RomUtils.GetLocalizedValue

GetLocalizedValue Method

GetLocalizedValue<T>(ReportItem, string, T, FromStringConverter<T>)

Gets localized property value from resources.

Declaration
public static T GetLocalizedValue<T>(ReportItem reportItem, string propertyName, T defaultValue, RomUtils.FromStringConverter<T> converter)
Parameters
Type Name Description
ReportItem reportItem
string propertyName
T defaultValue
RomUtils.FromStringConverter<T> converter
Returns
Type Description
T
Type Parameters
Name Description
T

GetLocalizedValue<T>(Report, string, T, FromStringConverter<T>)

Gets localized property value from resources.

Declaration
public static T GetLocalizedValue<T>(Report report, string propertyName, T defaultValue, RomUtils.FromStringConverter<T> converter)
Parameters
Type Name Description
Report report
string propertyName
T defaultValue
RomUtils.FromStringConverter<T> converter
Returns
Type Description
T
Type Parameters
Name Description
T