Mini Kabibi Habibi
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using DevExpress.XtraReports;
using DevExpress.XtraReports.UI;
using System.Data;
using DevExpress.Xpf.DemoBase;
using DevExpress.Xpf.Printing;
namespace ReportWpfDemo {
public partial class Merging : ReportModuleBase {
public Merging() {
InitializeComponent();
}
}
public class MergingViewModel : ReportModuleViewModelBase {
protected override IReport CreateReport() {
return new XtraReportsDemos.ReportMerging.MergedReport();
}
protected override void FillData(DataFiller dataFiller) {
dataFiller.Fill((XtraReportsDemos.ReportMerging.MergedReport)ReportPreviewModel.Report);
}
protected override DevExpress.Xpf.Printing.XtraReportPreviewModel CreateReportPreviewModel(IReport report) {
var model = base.CreateReportPreviewModel(report);
model.UseSimpleScrolling = true;
return model;
}
}
}