PageCatalogPart.ScrollBars 屬性

定義

呈現 PageCatalogPart 控制項時,設定的 Web 組件控制項不會使用這個繼承屬性。 只有在防止屬性出現在 Visual Studio 2005 設計工具Microsoft時,才會覆寫此屬性。

public:
 virtual property System::Web::UI::WebControls::ScrollBars ScrollBars { System::Web::UI::WebControls::ScrollBars get(); void set(System::Web::UI::WebControls::ScrollBars value); };
[System.ComponentModel.Browsable(false)]
[System.Web.UI.Themeable(false)]
public override System.Web.UI.WebControls.ScrollBars ScrollBars { get; set; }
[<System.ComponentModel.Browsable(false)>]
[<System.Web.UI.Themeable(false)>]
member this.ScrollBars : System.Web.UI.WebControls.ScrollBars with get, set
Public Overrides Property ScrollBars As ScrollBars

屬性值

如果控制項內需要時所使用的 ScrollBars

屬性

備註

屬性 ScrollBars 是控制項的成員 PageCatalogPart ,不會在 Web 元件控制項集合內的任何位置使用,以便轉譯控制項。 因此,您不應該使用這個屬性;設定它不會影響轉譯。

為了防止開發人員使用此屬性,程式碼屬性會設定為在 Visual Studio 中隱藏它。 當您在 Visual Studio 中使用 PageCatalogPart 控制項時, ScrollBars 屬性不會顯示在 [屬性] 窗格或 IntelliSense 中。

如果您想要使用這個屬性,您必須建立繼承自 類別的 CatalogPart 自訂類別。 自訂類別可以使用繼承 ScrollBars 的屬性,或覆寫它並變更其行為。

這個屬性無法由佈景主題或樣式表主題設定。 如需詳細資訊,請參閱 ThemeableAttributeASP.NET 主題和麵板

適用於

另請參閱