Style 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示报告项的命名样式属性集合。 该收藏可按名称或索引访问。 此类不能被继承。
public ref class Style sealed : Microsoft::ReportingServices::ReportRendering::StyleBase
public sealed class Style : Microsoft.ReportingServices.ReportRendering.StyleBase
type Style = class
inherit StyleBase
Public NotInheritable Class Style
Inherits StyleBase
- 继承
构造函数
| 名称 | 说明 |
|---|---|
| Style() |
初始化 Style 类的新实例。 |
字段
属性
| 名称 | 说明 |
|---|---|
| Count |
集合中的样式属性数量。 |
| IsCustomControl |
获取或设置一个值,指示控制是否为自定义控制。 (继承自 StyleBase) |
| Item[Int32] |
返回指定索引的样式。 (继承自 StyleBase) |
| Item[String] |
获得与参数中名称 |
| Keys |
获取包含 |
| NonSharedProperties |
获得 StyleProperties 一个集合,包含了由于表达式不同,报告项每个实例可能不同的属性。 |
| SharedProperties |
获得 StyleProperties 一个集合,包含所有报表项实例共享的属性,这些属性都是从定义中同一报告项派生出来的。 |
方法
| 名称 | 说明 |
|---|---|
| ContainStyleProperty(String) |
表示该集合是否包含命名样式属性。 (继承自 StyleBase) |
| GetEnumerator() |
它有一个IE分分子接口,允许你在集合中迭代。 (继承自 StyleBase) |
| SetStyle(Style+StyleName, Object, Boolean) |
在样式集合中将指定的样式属性设置为给定值。 (继承自 StyleBase) |