Skip to main content
All docs
V25.2
  • ReportTestDataSourceBehavior.Properties Property

    Gets AI-generated Test Data behavior settings.

    Namespace: DevExpress.AIIntegration.WinForms.Reporting

    Assembly: DevExpress.AIIntegration.WinForms.Reporting.v25.2.dll

    NuGet Package: DevExpress.AIIntegration.WinForms.Reporting

    Declaration

    public ReportTestDataSourceProperties Properties { get; }

    Property Value

    Type Description
    ReportTestDataSourceProperties

    AI-generated Test Data behavior settings.

    Remarks

    Drop the BehaviorManager component from the Toolbox onto a Form that contains the WinForms Report Designer control. Use the following code to register a ReportTestDataSourceBehavior and attach it to the WinForms Report Designer (reportDesigner1):

    using DevExpress.AIIntegration.WinForms.Reporting;
    
    namespace DXAppReportsTestData {
        public partial class XtraForm1 : DevExpress.XtraBars.Ribbon.RibbonForm {
            public XtraForm2() {
                InitializeComponent();
    
                behaviorManager1.Attach<ReportTestDataSourceBehavior>(reportDesigner1, behavior => {
                    behavior.Properties.Temperature = 0.3f;
                    behavior.Properties.RowCount = 10;
                });
    
                reportDesigner1.OpenReport(new Report1());
            }
        }
    }
    

    See the following help topic for more information: Preview Reports with AI-generated Test Data (WinForms Report Designer).

    See Also