ListView.CreateControlStyle 方法

定义

为控件创建默认样式。

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

返回

Style

ListView 控件的样式。

例外

注解

控件不支持 ListView 样式属性。 如果尝试调用 CreateControlStyle 该方法, NotSupportedException 则会引发异常。

适用于

另请参阅