Exemplo n.º 1
0
 void options_CustomizeSheetFooter(DevExpress.Export.ContextEventArgs e)
 {
     e.ExportContext.AddRow(new CellObject[] {
         new CellObject()
         {
             Value = "Footer:"
         },
         new CellObject()
         {
             Value = 1.234
         }
     });
 }
Exemplo n.º 2
0
 void options_CustomizeSheetHeader(DevExpress.Export.ContextEventArgs e)
 {
     e.ExportContext.AddRow(new CellObject[] {
         new CellObject()
         {
             Value      = "Pivot Grid Export Test",
             Formatting = new DevExpress.Export.XlFormattingObject()
             {
                 BackColor = Color.GreenYellow
             }
         }
     });
     e.ExportContext.AddRow(new CellObject[] {
         new CellObject()
         {
             Value = "Header:"
         },
         new CellObject()
         {
             Value = 1234
         }
     });
 }