Share via


Style Members

Include Protected Members
Include Inherited Members

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.

The Style type exposes the following members.

Constructors

  Name Description
Public method Style() Initializes a new instance of the Style class.

Top

Methods

  Name Description
Public method ContainStyleProperty(String) Indicates whether this collection contains a named style property. (Inherited from StyleBase.)
Public method Equals(Object) (Inherited from Object.)
Protected method Finalize() (Inherited from Object.)
Public method GetEnumerator() Gets an IEnumerator interface that allows you to iterate through the collection. (Inherited from StyleBase.)
Public method GetHashCode() (Inherited from Object.)
Public method GetType() (Inherited from Object.)
Protected method MemberwiseClone() (Inherited from Object.)
Public method SetStyle(Style.StyleName, Object, Boolean) Sets a specified style property within a style collection to the given value. (Inherited from StyleBase.)
Public method ToString() (Inherited from Object.)

Top

Fields

  Name Description
Protected field m_isCustomControlGenerated Infrastructure. (Inherited from StyleBase.)
Protected field m_nonSharedProperties Infrastructure. (Inherited from StyleBase.)
Protected field m_sharedProperties Infrastructure. (Inherited from StyleBase.)

Top

Properties

  Name Description
Public property Count Number of style properties in the collection. (Overrides StyleBase.Count.)
Protected property IsCustomControl Infrastructure. (Inherited from StyleBase.)
Public property 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].)
Public property Item[Int32] Returns a style at the specified index. (Inherited from StyleBase.)
Public property Keys Gets a NameObjectCollectionBase.KeysCollection instance that contains all the keys in the NameObjectCollectionBase instance. (Overrides StyleBase.Keys.)
Public property 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.)
Public property 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