Επεξεργασία

Κοινή χρήση μέσω


GridViewDesigner.SampleRowCount Property

Definition

Gets or sets the number of sample rows for the associated control to display.

protected:
 virtual property int SampleRowCount { int get(); };
protected override int SampleRowCount { get; }
member this.SampleRowCount : int
Protected Overrides ReadOnly Property SampleRowCount As Integer

Property Value

The number of sample rows.

Remarks

If the associated GridView control allows paging and the PageSize property is greater than 0, the SampleRowCount property returns the PageSize plus 1 (but not greater than 100). If the GridView does not allow paging or the PageSize is 0, SampleRowCount returns 5.

Applies to

See also