Класс Style

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.

Иерархия наследования

System. . :: . .Object
  Microsoft.ReportingServices.ReportRendering. . :: . .StyleBase
    Microsoft.ReportingServices.ReportRendering..::..Style

Пространство имен:  Microsoft.ReportingServices.ReportRendering
Сборка:  Microsoft.ReportingServices.ProcessingCore (в Microsoft.ReportingServices.ProcessingCore.dll)

Синтаксис

'Декларация
Public NotInheritable Class Style _
    Inherits StyleBase
'Применение
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

Тип Style обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод Style Initializes a new instance of the Style class.

В начало

Свойства

  Имя Описание
Открытое свойство Count Number of style properties in the collection. (Переопределяет StyleBase. . :: . .Count.)
Защищенное свойство IsCustomControl Инфраструктура. (Производный от 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. (Переопределяет StyleBase. . :: . .Item[ ( [ ( String] ) ] ) .)
Открытое свойство Item[ ( [ ( Int32] ) ] ) Returns a style at the specified index. (Производный от StyleBase.)
Открытое свойство Keys Gets a NameObjectCollectionBase.KeysCollection instance that contains all the keys in the NameObjectCollectionBase instance. (Переопределяет 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. (Переопределяет 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. (Переопределяет StyleBase. . :: . .SharedProperties.)

В начало

Методы

  Имя Описание
Открытый метод ContainStyleProperty Indicates whether this collection contains a named style property. (Производный от StyleBase.)
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetEnumerator Gets an IEnumerator interface that allows you to iterate through the collection. (Производный от StyleBase.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод SetStyle Sets a specified style property within a style collection to the given value. (Производный от StyleBase.)
Открытый метод ToString (Производный от Object.)

В начало

Поля

  Имя Описание
Защищенное поле m_isCustomControlGenerated Инфраструктура. (Производный от StyleBase.)
Защищенное поле m_nonSharedProperties Инфраструктура. (Производный от StyleBase.)
Защищенное поле m_sharedProperties Инфраструктура. (Производный от StyleBase.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.