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 | |
---|---|---|
Style | Initializes a new instance of the Style class. |
Zum Anfang
Eigenschaften
Name | Beschreibung | |
---|---|---|
Count | Number of style properties in the collection. (Überschreibt 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. (Überschreibt StyleBase.Item[String].) | |
Item[Int32] | Returns a style at the specified index. (Geerbt von StyleBase.) | |
Keys | Gets a NameObjectCollectionBase.KeysCollection instance that contains all the keys in the NameObjectCollectionBase instance. (Überschreibt 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. (Überschreibt 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. (Überschreibt StyleBase.SharedProperties.) |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
ContainStyleProperty | Indicates whether this collection contains a named style property. (Geerbt von StyleBase.) | |
Equals | (Geerbt von Object.) | |
GetEnumerator | Gets an IEnumerator interface that allows you to iterate through the collection. (Geerbt von StyleBase.) | |
GetHashCode | (Geerbt von Object.) | |
GetType | (Geerbt von Object.) | |
SetStyle | Sets a specified style property within a style collection to the given value. (Geerbt von StyleBase.) | |
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.