語言

DataBoundControlDesigner.SampleRowCount 屬性

定義

取得資料綁定控制在設計表面上顯示的列數。

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

屬性值

資料綁定控制在設計表面顯示的列數。

給繼承者的注意事項

若要更改資料邊界控制項在設計表面顯示的列數,覆寫 SampleRowCount 該屬性以回傳你想要顯示的列數。

適用於

另請參閱