GridView.CreateControlStyle 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立控制的預設風格。
protected:
override System::Web::UI::WebControls::Style ^ CreateControlStyle();
protected override System.Web.UI.WebControls.Style CreateControlStyle();
override this.CreateControlStyle : unit -> System.Web.UI.WebControls.Style
Protected Overrides Function CreateControlStyle () As Style
傳回
代表控制風格的A Style 。
備註
此 CreateControlStyle 方法用於建立控制項的預設樣式。
Note
此方法主要由控制開發者使用來擴展控制範圍 GridView 。