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

    Gets or sets the number of rows/records the AI service generates for the test data source.

    Namespace: DevExpress.AIIntegration.Wpf.Reporting

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

    NuGet Package: DevExpress.AIIntegration.Wpf.Reporting

    Declaration

    public int RowCount { get; set; }

    Property Value

    Type Description
    Int32

    The number of rows/records the AI service generates for the test data source.

    Remarks

    The following code snippet creates a ReportTestDataSourceBehavior and configures its RowCount and Temperature settings.

    <dx:ThemedWindow
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
        xmlns:dxrud="http://schemas.devexpress.com/winfx/2008/xaml/reports/userdesigner"
        xmlns:dxmvvm="http://schemas.devexpress.com/winfx/2008/xaml/mvvm" 
        xmlns:dxai="http://schemas.devexpress.com/winfx/2008/xaml/ai"
        x:Class="DXWPFReportApp.MainWindow"
        Title="Report Designer" Height="800" Width="1000">
        <Grid>
            <dxrud:ReportDesigner x:Name="reportDesigner" Height="NaN" Width="NaN">
                <dxmvvm:Interaction.Behaviors>
                    <dxai:ReportTestDataSourceBehavior x:Name="testDataSourceBehavior" RowCount="10" Temperature="0"/>
                </dxmvvm:Interaction.Behaviors>
            </dxrud:ReportDesigner>
        </Grid>
    </dx:ThemedWindow>
    
    See Also