StyleProperties Class
Represents a collection of styles. This class cannot be inherited.
Inheritance Hierarchy
System.Object
Microsoft.ReportingServices.ReportRendering.StyleProperties
Namespace: Microsoft.ReportingServices.ReportRendering
Assembly: Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)
Syntax
'Declaration
Public NotInheritable Class StyleProperties _
Implements ICloneable
'Usage
Dim instance As StyleProperties
public sealed class StyleProperties : ICloneable
public ref class StyleProperties sealed : ICloneable
[<SealedAttribute>]
type StyleProperties =
class
interface ICloneable
end
public final class StyleProperties implements ICloneable
The StyleProperties type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
Count | Returns the number of style properties. |
![]() |
Item[Int32] | Gets the value of the style located in the collection at the position indicated by the index. In C#, this property is the indexer for the StyleProperties class. |
![]() |
Item[String] | Gets the specified style from the collection. |
![]() |
Keys |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Clone | Clones the StyleProperties object. |
![]() |
ContainStyleProperty | Indicates whether this collection contains a named style property. |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
ToString | (Inherited from Object.) |
Top
Remarks
There are two StyleProperties classes associated with each style: one class containing those properties that are shared across all report instances, and one containing those that are unique to this particular instance.
The objects referenced in the StyleProperties class are the same as those in the Style class, however the Style class differentiates between shared and non-shared properties.
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.