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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.