Partager via


Classe Style

Contains information about the style of an object in the report.

Hiérarchie d'héritage

System. . :: . .Object
  Microsoft.ReportingServices.OnDemandReportRendering. . :: . .StyleBase
    Microsoft.ReportingServices.OnDemandReportRendering..::..Style

Espace de noms :  Microsoft.ReportingServices.OnDemandReportRendering
Assembly :  Microsoft.ReportingServices.ProcessingCore (en Microsoft.ReportingServices.ProcessingCore.dll)

Syntaxe

'Déclaration
<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public Class Style _
    Inherits StyleBase
'Utilisation
Dim instance As Style
[StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public class Style : StyleBase
[StrongNameIdentityPermissionAttribute(SecurityAction::InheritanceDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public ref class Style : public StyleBase
[<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
type Style =  
    class
        inherit StyleBase
    end
public class Style extends StyleBase

Le type Style expose les membres suivants.

Propriétés

  Nom Description
Propriété publique BackgroundColor Gets an expression that evaluates to the color of the background. (remplace StyleBase. . :: . .BackgroundColor.)
Propriété publique BackgroundGradientEndColor Gets an expression that evaluates to the end color for the background gradient. (remplace StyleBase. . :: . .BackgroundGradientEndColor.)
Propriété publique BackgroundGradientType Gets an expression that evaluates to the type of background gradient. (remplace StyleBase. . :: . .BackgroundGradientType.)
Propriété publique BackgroundHatchType Gets an expression that evaluates to the hatch type. (remplace StyleBase. . :: . .BackgroundHatchType.)
Propriété publique BackgroundImage Gets a background image for the object. (remplace StyleBase. . :: . .BackgroundImage.)
Propriété publique Border Gets the default border properties. (remplace StyleBase. . :: . .Border.)
Propriété publique BottomBorder Gets the properties of the bottom border. (remplace StyleBase. . :: . .BottomBorder.)
Propriété publique Calendar Gets an expression that evaluates to the calendar to use for formatting dates. (remplace StyleBase. . :: . .Calendar.)
Propriété publique Color Gets an expression that evaluates to the foreground color. (remplace StyleBase. . :: . .Color.)
Propriété publique Direction Gets an expression that evaluates to a value that indicates whether text is written left-to-right or right-to-left. (remplace StyleBase. . :: . .Direction.)
Propriété publique FontFamily Gets an expression that evaluates to the name of the font family. (remplace StyleBase. . :: . .FontFamily.)
Propriété publique FontSize Gets an expression that evaluates to the size of the font. (remplace StyleBase. . :: . .FontSize.)
Propriété publique FontStyle Gets an expression that evaluates to the font style. (remplace StyleBase. . :: . .FontStyle.)
Propriété publique FontWeight Gets an expression that evaluates to the thickness of the font. (remplace StyleBase. . :: . .FontWeight.)
Propriété publique Format Gets an expression that evaluates to a Microsoft .NET Framework formatting string. (remplace StyleBase. . :: . .Format.)
Propriété publique Item Gets a style attribute. (remplace StyleBase. . :: . .Item[ ( [ ( StyleAttributeNames] ) ] ) .)
Propriété publique Language Gets an expression that evaluates to the primary language of the text. (remplace StyleBase. . :: . .Language.)
Propriété publique LeftBorder Gets the properties of the left border. (remplace StyleBase. . :: . .LeftBorder.)
Propriété publique LineHeight Gets an expression that evaluates to the height of a line of text. (remplace StyleBase. . :: . .LineHeight.)
Propriété publique NonSharedStyleAttributes Gets a list of style attributes that are not shared between instance objects. (remplace StyleBase. . :: . .NonSharedStyleAttributes.)
Propriété publique NumeralLanguage Gets an expression that evaluates to the digit format to use as described by its primary language. Any language is legal. Default is the Language property. (remplace StyleBase. . :: . .NumeralLanguage.)
Propriété publique NumeralVariant Gets an expression that evaluates to the variant of the digit format to use. (remplace StyleBase. . :: . .NumeralVariant.)
Propriété publique PaddingBottom Gets an expression that evaluates to the padding between the bottom edge of the report item and its contents. (remplace StyleBase. . :: . .PaddingBottom.)
Propriété publique PaddingLeft Gets an expression that evaluates to the padding between the left edge of the report item and its contents. (remplace StyleBase. . :: . .PaddingLeft.)
Propriété publique PaddingRight Gets an expression that evaluates to the padding between the right edge of the report item and its contents. (remplace StyleBase. . :: . .PaddingRight.)
Propriété publique PaddingTop Gets an expression that evaluates to the padding between the top edge of the report item and its contents. (remplace StyleBase. . :: . .PaddingTop.)
Propriété publique RightBorder Gets the properties of the right border. (remplace StyleBase. . :: . .RightBorder.)
Propriété publique ShadowColor Gets an expression that evaluates to the color of the shadow for the item. (remplace StyleBase. . :: . .ShadowColor.)
Propriété publique ShadowOffset Gets an expression that evaluates to the size of the shadow for the item. (remplace StyleBase. . :: . .ShadowOffset.)
Propriété publique SharedStyleAttributes Gets a list of the styles that are shared between instance objects. (remplace StyleBase. . :: . .SharedStyleAttributes.)
Propriété publique TextAlign Gets an expression that evaluates to the horizontal alignment of the text. (remplace StyleBase. . :: . .TextAlign.)
Propriété publique TextDecoration Gets an expression that evaluates to the special text formatting. (remplace StyleBase. . :: . .TextDecoration.)
Propriété publique TextEffect Gets an expression that evaluates to the effect to apply to the text. (remplace StyleBase. . :: . .TextEffect.)
Propriété publique TopBorder Gets the properties of the top border. (remplace StyleBase. . :: . .TopBorder.)
Propriété publique UnicodeBiDi Gets an expression that evaluates to a value that indicates the level of embedding with respect to the bi-directional algorithm. (remplace StyleBase. . :: . .UnicodeBiDi.)
Propriété publique VerticalAlign Gets an expression that evaluates to the vertical alignment of the text. (remplace StyleBase. . :: . .VerticalAlign.)
Propriété publique WritingMode Gets an expression that evaluates to a value that indicates whether text is written horizontally or vertically. (remplace StyleBase. . :: . .WritingMode.)

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode protégée IsAvailableStyle Infrastructure.
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Champs

  Nom Description
Champ protégé m_nonSharedStyles Infrastructure. (hérité de StyleBase.)
Champ protégé m_sharedStyles 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.