Style 类

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

继承层次结构

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

命名空间:  Microsoft.ReportingServices.OnDemandReportRendering
程序集:  Microsoft.ReportingServices.ProcessingCore(在 Microsoft.ReportingServices.ProcessingCore.dll 中)

语法

声明
<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public Class Style _
    Inherits StyleBase
用法
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

Style 类型公开以下成员。

属性

  名称 说明
公共属性 BackgroundColor Color of the background (覆盖 StyleBase. . :: . .BackgroundColor。)
公共属性 BackgroundGradientEndColor End color for the background gradient. (覆盖 StyleBase. . :: . .BackgroundGradientEndColor。)
公共属性 BackgroundGradientType The type of background gradient (覆盖 StyleBase. . :: . .BackgroundGradientType。)
公共属性 BackgroundHatchType Hatch type. (覆盖 StyleBase. . :: . .BackgroundHatchType。)
公共属性 BackgroundImage A background image for the object. (覆盖 StyleBase. . :: . .BackgroundImage。)
公共属性 Border Default border properties. (覆盖 StyleBase. . :: . .Border。)
公共属性 BottomBorder Properties of the bottom border. (覆盖 StyleBase. . :: . .BottomBorder。)
公共属性 Calendar Indicates the calendar to use for formatting dates. (覆盖 StyleBase. . :: . .Calendar。)
公共属性 Color The foreground color. (覆盖 StyleBase. . :: . .Color。)
公共属性 Direction Indicates whether text is written left-to-right or right-to-left. (覆盖 StyleBase. . :: . .Direction。)
公共属性 FontFamily Name of the font family. (覆盖 StyleBase. . :: . .FontFamily。)
公共属性 FontSize Size of the font. (覆盖 StyleBase. . :: . .FontSize。)
公共属性 FontStyle Font style. (覆盖 StyleBase. . :: . .FontStyle。)
公共属性 FontWeight Thickness of the font. (覆盖 StyleBase. . :: . .FontWeight。)
公共属性 Format Microsoft .NET Framework formatting string. (覆盖 StyleBase. . :: . .Format。)
公共属性 Item Gets a style attribute. (覆盖 StyleBase. . :: . .Item[ ( [ ( StyleAttributeNames] ) ] ) 。)
公共属性 Language The primary language of the text. Default is Report language. (覆盖 StyleBase. . :: . .Language。)
公共属性 LeftBorder Properties of the left border. (覆盖 StyleBase. . :: . .LeftBorder。)
公共属性 LineHeight Height of a line of text. (覆盖 StyleBase. . :: . .LineHeight。)
公共属性 NonSharedStyleAttributes Gets a list of style attributes that are not shared between instance objects. (覆盖 StyleBase. . :: . .NonSharedStyleAttributes。)
公共属性 NumeralLanguage The digit format to use as described by its primary language. Any language is legal. Default is the Language property. (覆盖 StyleBase. . :: . .NumeralLanguage。)
公共属性 NumeralVariant The variant of the digit format to use. (覆盖 StyleBase. . :: . .NumeralVariant。)
公共属性 PaddingBottom Padding between the bottom edge of the report item and its contents. (覆盖 StyleBase. . :: . .PaddingBottom。)
公共属性 PaddingLeft Padding between the left edge of the report item and its contents. (覆盖 StyleBase. . :: . .PaddingLeft。)
公共属性 PaddingRight Padding between the right edge of the report item and its contents. (覆盖 StyleBase. . :: . .PaddingRight。)
公共属性 PaddingTop Padding between the top edge of the report item and its contents. (覆盖 StyleBase. . :: . .PaddingTop。)
公共属性 RightBorder Properties of the right border. (覆盖 StyleBase. . :: . .RightBorder。)
公共属性 ShadowColor Color of the shadow for the item. (覆盖 StyleBase. . :: . .ShadowColor。)
公共属性 ShadowOffset Size of the shadow for the item. (覆盖 StyleBase. . :: . .ShadowOffset。)
公共属性 SharedStyleAttributes Gets a list of style attributes that are shared between instance objects. (覆盖 StyleBase. . :: . .SharedStyleAttributes。)
公共属性 TextAlign Horizontal alignment of the text. (覆盖 StyleBase. . :: . .TextAlign。)
公共属性 TextDecoration Special text formatting. (覆盖 StyleBase. . :: . .TextDecoration。)
公共属性 TextEffect Effect to apply to the text. (覆盖 StyleBase. . :: . .TextEffect。)
公共属性 TopBorder Properties of the top border. (覆盖 StyleBase. . :: . .TopBorder。)
公共属性 UnicodeBiDi Indicates the level of embedding with respect to the bi-directional algorithm. (覆盖 StyleBase. . :: . .UnicodeBiDi。)
公共属性 VerticalAlign Vertical alignment of the text. (覆盖 StyleBase. . :: . .VerticalAlign。)
公共属性 WritingMode Indicates whether text is written horizontally or vertically. (覆盖 StyleBase. . :: . .WritingMode。)

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 IsAvailableStyle 基础结构。
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

字段

  名称 说明
受保护字段 m_nonSharedStyles (从 StyleBase 继承。)
受保护字段 m_sharedStyles (从 StyleBase 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。