Classe 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.
Hierarquia de herança
System.Object
Microsoft.ReportingServices.ReportRendering.StyleBase
Microsoft.ReportingServices.ReportRendering.Style
Namespace: Microsoft.ReportingServices.ReportRendering
Assembly: Microsoft.ReportingServices.ProcessingCore (em Microsoft.ReportingServices.ProcessingCore.dll)
Sintaxe
'Declaração
Public NotInheritable Class Style _
Inherits StyleBase
'Uso
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
O tipo Style expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
Style | Initializes a new instance of the Style class. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
Count | Number of style properties in the collection. (Substitui StyleBase.Count.) | |
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. (Substitui StyleBase.Item[String].) | |
Item[Int32] | Returns a style at the specified index. (Herdado de StyleBase.) | |
Keys | Gets a NameObjectCollectionBase.KeysCollection instance that contains all the keys in the NameObjectCollectionBase instance. (Substitui 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. (Substitui 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. (Substitui StyleBase.SharedProperties.) |
Início
Métodos
Nome | Descrição | |
---|---|---|
ContainStyleProperty | Indicates whether this collection contains a named style property. (Herdado de StyleBase.) | |
Equals | (Herdado de Object.) | |
GetEnumerator | Gets an IEnumerator interface that allows you to iterate through the collection. (Herdado de StyleBase.) | |
GetHashCode | (Herdado de Object.) | |
GetType | (Herdado de Object.) | |
SetStyle | Sets a specified style property within a style collection to the given value. (Herdado de StyleBase.) | |
ToString | (Herdado de Object.) |
Início
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.