Back to Devexpress

ReportTestDataSourceBehavior.RowCount Property

xtrareports-devexpress-dot-aiintegration-dot-wpf-dot-reporting-dot-reporttestdatasourcebehavior.md

latest2.8 KB
Original Source

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

csharp
public int RowCount { get; set; }
vb
Public Property RowCount As Integer

Property Value

TypeDescription
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.

xaml
<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

Preview Reports with AI-generated Test Data (WPF Report Designer)

ReportTestDataSourceBehavior Class

ReportTestDataSourceBehavior Members

DevExpress.AIIntegration.Wpf.Reporting Namespace