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.
Hiérarchie d'héritage
System. . :: . .Object
Microsoft.ReportingServices.ReportRendering. . :: . .StyleBase
Microsoft.ReportingServices.ReportRendering..::..Style
Espace de noms : Microsoft.ReportingServices.ReportRendering
Assembly : Microsoft.ReportingServices.ProcessingCore (en Microsoft.ReportingServices.ProcessingCore.dll)
Syntaxe
'Déclaration
Public NotInheritable Class Style _
Inherits StyleBase
'Utilisation
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
Le type Style expose les membres suivants.
Propriétés
Nom | Description | |
---|---|---|
Count | Number of style properties in the collection. (remplace StyleBase. . :: . .Count.) | |
IsCustomControl | Infrastructure. (hérité de 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. (remplace StyleBase. . :: . .Item[ ( [ ( String] ) ] ) .) | |
Item[ ( [ ( Int32] ) ] ) | Returns a style at the specified index. (hérité de StyleBase.) | |
Keys | Gets a NameObjectCollectionBase.KeysCollection instance that contains all the keys in the NameObjectCollectionBase instance. (remplace 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. (remplace 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. (remplace StyleBase. . :: . .SharedProperties.) |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
ContainStyleProperty | Indicates whether this collection contains a named style property. (hérité de StyleBase.) | |
Equals | (hérité de Object.) | |
Finalize | (hérité de Object.) | |
GetEnumerator | Gets an IEnumerator interface that allows you to iterate through the collection. (hérité de StyleBase.) | |
GetHashCode | (hérité de Object.) | |
GetType | (hérité de Object.) | |
MemberwiseClone | (hérité de Object.) | |
SetStyle | Sets a specified style property within a style collection to the given value. (hérité de StyleBase.) | |
ToString | (hérité de Object.) |
Haut de la page
Champs
Nom | Description | |
---|---|---|
m_isCustomControlGenerated | Infrastructure. (hérité de StyleBase.) | |
m_nonSharedProperties | Infrastructure. (hérité de StyleBase.) | |
m_sharedProperties | Infrastructure. (hérité de StyleBase.) |
Haut de la page
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.