ReportViewer.CreateControlStyle 方法

此 API 支持 .NET Framework 基础结构,不适合在代码中直接使用。

创建由该控件在内部用来实现所有与样式有关的属性的样式对象。

命名空间:  Microsoft.Reporting.WebForms
程序集:  Microsoft.ReportViewer.WebForms(在 Microsoft.ReportViewer.WebForms.dll 中)

语法

声明
Protected Overrides Function CreateControlStyle As Style
protected override Style CreateControlStyle()
protected:
virtual Style^ CreateControlStyle() override
abstract CreateControlStyle : unit -> Style 
override CreateControlStyle : unit -> Style 
protected override function CreateControlStyle() : Style

返回值

类型:Style
一个 Style,用于实现该控件的所有与样式有关的属性。

请参阅

参考

ReportViewer 类

Microsoft.Reporting.WebForms 命名空间