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 Gets an expression that evaluates to the color of the background. (覆盖 StyleBase.BackgroundColor。)
公共属性 BackgroundGradientEndColor Gets an expression that evaluates to the end color for the background gradient. (覆盖 StyleBase.BackgroundGradientEndColor。)
公共属性 BackgroundGradientType Gets an expression that evaluates to the type of background gradient. (覆盖 StyleBase.BackgroundGradientType。)
公共属性 BackgroundHatchType Gets an expression that evaluates to the hatch type. (覆盖 StyleBase.BackgroundHatchType。)
公共属性 BackgroundImage Gets a background image for the object. (覆盖 StyleBase.BackgroundImage。)
公共属性 Border Gets the default border properties. (覆盖 StyleBase.Border。)
公共属性 BottomBorder Gets the properties of the bottom border. (覆盖 StyleBase.BottomBorder。)
公共属性 Calendar Gets an expression that evaluates to the calendar to use for formatting dates. (覆盖 StyleBase.Calendar。)
公共属性 Color Gets an expression that evaluates to the foreground color. (覆盖 StyleBase.Color。)
公共属性 Direction Gets an expression that evaluates to a value that indicates whether text is written left-to-right or right-to-left. (覆盖 StyleBase.Direction。)
公共属性 FontFamily Gets an expression that evaluates to the name of the font family. (覆盖 StyleBase.FontFamily。)
公共属性 FontSize Gets an expression that evaluates to the size of the font. (覆盖 StyleBase.FontSize。)
公共属性 FontStyle Gets an expression that evaluates to the font style. (覆盖 StyleBase.FontStyle。)
公共属性 FontWeight Gets an expression that evaluates to the thickness of the font. (覆盖 StyleBase.FontWeight。)
公共属性 Format Gets an expression that evaluates to a Microsoft .NET Framework formatting string. (覆盖 StyleBase.Format。)
公共属性 Item Gets a style attribute. (覆盖 StyleBase.Item[StyleAttributeNames]。)
公共属性 Language Gets an expression that evaluates to the primary language of the text. (覆盖 StyleBase.Language。)
公共属性 LeftBorder Gets the properties of the left border. (覆盖 StyleBase.LeftBorder。)
公共属性 LineHeight Gets an expression that evaluates to the 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 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. (覆盖 StyleBase.NumeralLanguage。)
公共属性 NumeralVariant Gets an expression that evaluates to the variant of the digit format to use. (覆盖 StyleBase.NumeralVariant。)
公共属性 PaddingBottom Gets an expression that evaluates to the padding between the bottom edge of the report item and its contents. (覆盖 StyleBase.PaddingBottom。)
公共属性 PaddingLeft Gets an expression that evaluates to the padding between the left edge of the report item and its contents. (覆盖 StyleBase.PaddingLeft。)
公共属性 PaddingRight Gets an expression that evaluates to the padding between the right edge of the report item and its contents. (覆盖 StyleBase.PaddingRight。)
公共属性 PaddingTop Gets an expression that evaluates to the padding between the top edge of the report item and its contents. (覆盖 StyleBase.PaddingTop。)
公共属性 RightBorder Gets the properties of the right border. (覆盖 StyleBase.RightBorder。)
公共属性 ShadowColor Gets an expression that evaluates to the color of the shadow for the item. (覆盖 StyleBase.ShadowColor。)
公共属性 ShadowOffset Gets an expression that evaluates to the size of the shadow for the item. (覆盖 StyleBase.ShadowOffset。)
公共属性 SharedStyleAttributes Gets a list of the styles that are shared between instance objects. (覆盖 StyleBase.SharedStyleAttributes。)
公共属性 TextAlign Gets an expression that evaluates to the horizontal alignment of the text. (覆盖 StyleBase.TextAlign。)
公共属性 TextDecoration Gets an expression that evaluates to the special text formatting. (覆盖 StyleBase.TextDecoration。)
公共属性 TextEffect Gets an expression that evaluates to the effect to apply to the text. (覆盖 StyleBase.TextEffect。)
公共属性 TopBorder Gets the properties of the top border. (覆盖 StyleBase.TopBorder。)
公共属性 UnicodeBiDi Gets an expression that evaluates to a value that indicates the level of embedding with respect to the bi-directional algorithm. (覆盖 StyleBase.UnicodeBiDi。)
公共属性 VerticalAlign Gets an expression that evaluates to the vertical alignment of the text. (覆盖 StyleBase.VerticalAlign。)
公共属性 WritingMode Gets an expression that evaluates to a value that 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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。