GridViewDesigner.SampleRowCount Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk