Style 类
Represents a collection of named style properties for a report item. This collection can be accessed by name or index. This class cannot be inherited.
继承层次结构
System. . :: . .Object
Microsoft.ReportingServices.ReportRendering. . :: . .StyleBase
Microsoft.ReportingServices.ReportRendering..::..Style
命名空间: Microsoft.ReportingServices.ReportRendering
程序集: Microsoft.ReportingServices.ProcessingCore(在 Microsoft.ReportingServices.ProcessingCore.dll 中)
语法
声明
Public NotInheritable Class Style _
Inherits StyleBase
用法
Dim instance As Style
public sealed class Style : StyleBase
public ref class Style sealed : public StyleBase
[<SealedAttribute>]
type Style =
class
inherit StyleBase
end
public final class Style extends StyleBase
Style 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
![]() |
Count | Number of style properties in the collection. (覆盖 StyleBase. . :: . .Count。) |
![]() |
IsCustomControl | 基础结构。 (从 StyleBase 继承。) |
![]() |
Item[ ( [ ( String] ) ] ) | Gets the value of the specified style that matches the name given in the styleName parameter. In C#, this property is the indexer for the Style class. (覆盖 StyleBase. . :: . .Item[ ( [ ( String] ) ] ) 。) |
![]() |
Item[ ( [ ( Int32] ) ] ) | Returns a style at the specified index. (从 StyleBase 继承。) |
![]() |
Keys | Gets a NameObjectCollectionBase.KeysCollection instance that contains all the keys in the NameObjectCollectionBase instance. (覆盖 StyleBase. . :: . .Keys。) |
![]() |
NonSharedProperties | Gets a StyleProperties collection that contains the properties that may be different for each instance of the report item due to expressions. (覆盖 StyleBase. . :: . .NonSharedProperties。) |
![]() |
SharedProperties | Gets a StyleProperties collection that contains the properties shared by all report item instances that are derived from the same report item in the definition. (覆盖 StyleBase. . :: . .SharedProperties。) |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
ContainStyleProperty | Indicates whether this collection contains a named style property. (从 StyleBase 继承。) |
![]() |
Equals | (从 Object 继承。) |
![]() |
Finalize | (从 Object 继承。) |
![]() |
GetEnumerator | Gets an IEnumerator interface that allows you to iterate through the collection. (从 StyleBase 继承。) |
![]() |
GetHashCode | (从 Object 继承。) |
![]() |
GetType | (从 Object 继承。) |
![]() |
MemberwiseClone | (从 Object 继承。) |
![]() |
SetStyle | Sets a specified style property within a style collection to the given value. (从 StyleBase 继承。) |
![]() |
ToString | (从 Object 继承。) |
页首
字段
名称 | 说明 | |
---|---|---|
![]() |
m_isCustomControlGenerated | 基础结构。 (从 StyleBase 继承。) |
![]() |
m_nonSharedProperties | 基础结构。 (从 StyleBase 继承。) |
![]() |
m_sharedProperties | 基础结构。 (从 StyleBase 继承。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。