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
Public property Count Returns the number of style properties.
Public property 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.
Public property Item[String] Gets the specified style from the collection.
Public property Keys

Top

Methods

  Name Description
Public method Clone Clones the StyleProperties object.
Public method ContainStyleProperty Indicates whether this collection contains a named style property.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method 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.