Style Class
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.
Inheritance Hierarchy
System.Object
Microsoft.ReportingServices.ReportRendering.StyleBase
Microsoft.ReportingServices.ReportRendering.Style
Namespace: Microsoft.ReportingServices.ReportRendering
Assembly: Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)
Syntax
'Declaration
Public NotInheritable Class Style _
Inherits StyleBase
'Usage
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
The Style type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
![]() |
Count | Number of style properties in the collection. (Overrides StyleBase.Count.) |
![]() |
IsCustomControl | Infrastructure. (Inherited from 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. (Overrides StyleBase.Item[String].) |
![]() |
Item[Int32] | Returns a style at the specified index. (Inherited from StyleBase.) |
![]() |
Keys | Gets a NameObjectCollectionBase.KeysCollection instance that contains all the keys in the NameObjectCollectionBase instance. (Overrides 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. (Overrides 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. (Overrides StyleBase.SharedProperties.) |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
ContainStyleProperty | Indicates whether this collection contains a named style property. (Inherited from StyleBase.) |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetEnumerator | Gets an IEnumerator interface that allows you to iterate through the collection. (Inherited from StyleBase.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
SetStyle | Sets a specified style property within a style collection to the given value. (Inherited from StyleBase.) |
![]() |
ToString | (Inherited from Object.) |
Top
Fields
| Name | Description | |
|---|---|---|
![]() |
m_isCustomControlGenerated | Infrastructure. (Inherited from StyleBase.) |
![]() |
m_nonSharedProperties | Infrastructure. (Inherited from StyleBase.) |
![]() |
m_sharedProperties | Infrastructure. (Inherited from StyleBase.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.gif)
.gif)
.gif)
.gif)
.gif)