Share via


Style Class

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

Inheritance Hierarchy

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

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

Syntax

'Declaration
<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public Class Style _
    Inherits StyleBase
'Usage
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

The Style type exposes the following members.

Properties

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

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method IsAvailableStyle Infrastructure. Gets a value that indicates whether the specified style is available.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Fields

  Name Description
Protected field m_nonSharedStyles Infrastructure. Specifies a list of style attributes that are not shared between instance objects. (Inherited from StyleBase.)
Protected field m_sharedStyles Infrastructure. Specifies a list of the styles that are shared between instance objects. (Inherited from StyleBase.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.ReportingServices.OnDemandReportRendering Namespace