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;
        }