DataBoundControlDesigner.SampleRowCount Property

 

Gets the number of rows that the data-bound control displays on the design surface.

Namespace:   System.Web.UI.Design.WebControls
Assembly:  System.Design (in System.Design.dll)

protected virtual int SampleRowCount { get; }

Property Value

Type: System.Int32

The number of rows that the data-bound control displays on the design surface.

Notes to Implementers:

To change the number of rows that the data-bound control displays on the design surface, override the SampleRowCount property to return the number of rows that you want displayed.

.NET Framework
Available since 2.0
Return to top
Show: