Back to Devexpress

DataControlBase.DesignTimeDataSourceRowCount Property

wpf-devexpress-dot-xpf-dot-grid-dot-datacontrolbase-f72a7083.md

latest1.7 KB
Original Source

DataControlBase.DesignTimeDataSourceRowCount Property

Gets or sets the number of temporary data rows displayed within the grid at design time. This is a dependency property.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.Core.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

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

Property Value

TypeDescription
Int32

An integer value that specifies the number of data rows displayed within the grid at design time.

|

Remarks

If the DataControlBase.DesignTimeShowSampleData option is enabled, use the DesignTimeDataSourceRowCount property, to specify how many data rows are displayed within the grid.

In the image below, the grid displays two sample data rows:

To learn more, see Customizing Unbound Grid at Design Time.

See Also

DataControlBase Class

DataControlBase Members

DevExpress.Xpf.Grid Namespace