Freigeben über


Style-Klasse

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.

Vererbungshierarchie

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

Namespace:  Microsoft.ReportingServices.ReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)

Syntax

'Declaration
Public NotInheritable Class Style _
    Inherits StyleBase
'Usage
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

Der Style-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode Style Initializes a new instance of the Style class.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Count Number of style properties in the collection. (Überschreibt StyleBase.Count.)
Öffentliche Eigenschaft 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. (Überschreibt StyleBase.Item[String].)
Öffentliche Eigenschaft Item[Int32] Returns a style at the specified index. (Geerbt von StyleBase.)
Öffentliche Eigenschaft Keys Gets a NameObjectCollectionBase.KeysCollection instance that contains all the keys in the NameObjectCollectionBase instance. (Überschreibt StyleBase.Keys.)
Öffentliche Eigenschaft NonSharedProperties Gets a StyleProperties collection that contains the properties that may be different for each instance of the report item due to expressions. (Überschreibt StyleBase.NonSharedProperties.)
Öffentliche Eigenschaft 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. (Überschreibt StyleBase.SharedProperties.)

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode ContainStyleProperty Indicates whether this collection contains a named style property. (Geerbt von StyleBase.)
Öffentliche Methode Equals (Geerbt von Object.)
Öffentliche Methode GetEnumerator Gets an IEnumerator interface that allows you to iterate through the collection. (Geerbt von StyleBase.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode SetStyle Sets a specified style property within a style collection to the given value. (Geerbt von StyleBase.)
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.ReportingServices.ReportRendering-Namespace