Edit

Share via


DataBoundControlDesigner.SampleRowCount Property

Definition

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

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

Property Value

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

Notes to Inheritors

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.

Applies to

See also