PdfRpt.Core.Helper.ApplyDataAnnotations.applyWidth C# (CSharp) Метод

applyWidth() приватный статический Метод

private static applyWidth ( PropertyInfo property, ColumnAttributes columnAttributes ) : void
property System.Reflection.PropertyInfo
columnAttributes PdfRpt.Core.Contracts.ColumnAttributes
Результат void
        private static void applyWidth(PropertyInfo property, ColumnAttributes columnAttributes)
        {
            var columnWidth = property.GetColumnWidthAttribute();
            if (columnWidth != null)
                columnAttributes.Width = columnWidth.Value;
        }