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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.