共用方式為


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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。