Compartir a través de


Clase 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.

Jerarquía de herencia

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

Espacio de nombres:  Microsoft.ReportingServices.ReportRendering
Ensamblado:  Microsoft.ReportingServices.ProcessingCore (en Microsoft.ReportingServices.ProcessingCore.dll)

Sintaxis

'Declaración
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

El tipo Style expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público Style Initializes a new instance of the Style class.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública Count Number of style properties in the collection. (Invalida StyleBase.Count.)
Propiedad pública 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. (Invalida StyleBase.Item[String].)
Propiedad pública Item[Int32] Returns a style at the specified index. (Se hereda de StyleBase.)
Propiedad pública Keys Gets a NameObjectCollectionBase.KeysCollection instance that contains all the keys in the NameObjectCollectionBase instance. (Invalida StyleBase.Keys.)
Propiedad pública NonSharedProperties Gets a StyleProperties collection that contains the properties that may be different for each instance of the report item due to expressions. (Invalida StyleBase.NonSharedProperties.)
Propiedad pública 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. (Invalida StyleBase.SharedProperties.)

Arriba

Métodos

  Nombre Descripción
Método público ContainStyleProperty Indicates whether this collection contains a named style property. (Se hereda de StyleBase.)
Método público Equals (Se hereda de Object.)
Método público GetEnumerator Gets an IEnumerator interface that allows you to iterate through the collection. (Se hereda de StyleBase.)
Método público GetHashCode (Se hereda de Object.)
Método público GetType (Se hereda de Object.)
Método público SetStyle Sets a specified style property within a style collection to the given value. (Se hereda de StyleBase.)
Método público ToString (Se hereda de Object.)

Arriba

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Vea también

Referencia

Espacio de nombres Microsoft.ReportingServices.ReportRendering