Класс 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 обеспечивает доступ к следующим элементам.
Свойства
| Имя | Описание | |
|---|---|---|
![]() |
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) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.
.gif)
.gif)
.gif)
.gif)
.gif)