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 用于为控件创建默认样式。
注释
此方法主要由控件开发人员用来扩展控件 GridView 。