xtrareports-devexpress-dot-aiintegration-dot-wpf-dot-reporting-dot-reporttestdatasourcebehavior.md
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
public int RowCount { get; set; }
Public Property RowCount As Integer
| Type | Description |
|---|---|
| Int32 |
The number of rows/records the AI service generates for the test data source.
|
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
Preview Reports with AI-generated Test Data (WPF Report Designer)
ReportTestDataSourceBehavior Class