예제 #1
0
 static void GridCellPdfExportingEventhandler(object sender, GridCellPdfExportingEventArgs e)
 {
     if ((e.ColumnName == "OrderID" || e.ColumnName == "EmployeeID" || e.ColumnName == "OrderDate" || e.ColumnName == "Freight") &&
         e.CellType == ExportCellType.RecordCell)
     {
         e.PdfGridCell.Style = cellstyle;
     }
 }
예제 #2
0
 static void GridCellPdfExportingEventhandler(object sender, GridCellPdfExportingEventArgs e)
 {
     if ((e.ColumnName == "OrderID" || e.ColumnName == "EmployeeID" || e.ColumnName == "OrderDate" || e.ColumnName == "Freight") &&
         e.CellType == ExportCellType.RecordCell)
     {
         e.PdfGridCell.Style = cellstyle;
     }
     e.PdfGridCell.Style.Borders.All = new PdfPen(PdfBrushes.DarkGray, 1.0f);
 }
예제 #3
0
 void GridCellPdfExportingEventhandler(object sender, GridCellPdfExportingEventArgs e)
 {
     if ((e.ColumnName == "EmployeeID" || e.ColumnName == "HireDate" || e.ColumnName == "BirthDate" ||
          e.ColumnName == "Salary" || e.ColumnName == "SickLeaveHours") &&
         e.CellType == ExportCellType.RecordCell)
     {
         e.PdfGridCell.Style = cellstyle;
     }
     e.PdfGridCell.Style.Borders.All = new PdfPen(PdfBrushes.DarkGray, 1.0f);
 }
예제 #4
0
 void GridCellPdfExportingEventhandler(object sender, GridCellPdfExportingEventArgs e) {
     if ((e.ColumnName == "EmployeeID" || e.ColumnName == "HireDate" || e.ColumnName == "BirthDate"
         || e.ColumnName == "Salary" || e.ColumnName == "SickLeaveHours")
         && e.CellType == ExportCellType.RecordCell) {
         e.PdfGridCell.Style = cellstyle;
     }
 }