StyleProperties Class

Definition

Represents a collection of styles. This class cannot be inherited.

public ref class StyleProperties sealed : ICloneable
public sealed class StyleProperties : ICloneable
type StyleProperties = class
    interface ICloneable
Public NotInheritable Class StyleProperties
Implements ICloneable
Inheritance
StyleProperties
Implements

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.

Properties

Count

Gets 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

Gets a collection of style property keys.

Methods

Clone()

Clones the StyleProperties object.

ContainStyleProperty(String)

Indicates whether this collection contains a named style property.

Applies to