共用方式為


StyleBase 類別

An abstract base class collection of named styles for the report, which can be accessed by name or index.

繼承階層

System.Object
  Microsoft.ReportingServices.ReportRendering.StyleBase
    Microsoft.ReportingServices.ReportRendering.ActionStyle
    Microsoft.ReportingServices.ReportRendering.Style

命名空間:  Microsoft.ReportingServices.ReportRendering
組件:  Microsoft.ReportingServices.ProcessingCore (在 Microsoft.ReportingServices.ProcessingCore.dll 中)

語法

'宣告
<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public MustInherit Class StyleBase
'用途
Dim instance As StyleBase
[StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public abstract class StyleBase
[StrongNameIdentityPermissionAttribute(SecurityAction::InheritanceDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public ref class StyleBase abstract
[<AbstractClassAttribute>]
[<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
type StyleBase =  class end
public abstract class StyleBase

StyleBase 型別公開下列成員。

建構函式

  名稱 說明
受保護的方法 StyleBase Initializes a new instance of the StyleBase class.

上層

屬性

  名稱 說明
公用屬性 Count Gets the number of style properties in the collection.
受保護的屬性 IsCustomControl 基礎結構。Gets or sets a value that indicates whether control is a custom control.
公用屬性 Item[Int32] Returns a style at the specified index.
公用屬性 Item[String] Returns a style matching the specified name.
公用屬性 Keys Gets a NameObjectCollectionBase.KeysCollection instance that contains all the keys in the NameObjectCollectionBase instance.
公用屬性 NonSharedProperties Gets or sets the style properties that are different for each for each report item (due to expressions).
公用屬性 SharedProperties Gets or sets the properties shared by all report items derived from the same report item in the definition.

上層

方法

  名稱 說明
公用方法 ContainStyleProperty Indicates whether this collection contains a named style property.
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetEnumerator Gets an IEnumerator interface that allows you to iterate through the collection.
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 SetStyle Sets a specified style property within a style collection to the given value.
公用方法 ToString (繼承自 Object。)

上層

欄位

  名稱 說明
受保護的欄位靜態成員 BackgroundColor Specifies the color of the background. If omitted, the background is transparent.
受保護的欄位靜態成員 BackgroundGradientEndColor Specifies the end color for the background gradient.
受保護的欄位靜態成員 BackgroundGradientType Specifies the type of background gradient.
受保護的欄位靜態成員 BackgroundImage Specifies the background image. If omitted, there is no background image.
受保護的欄位靜態成員 BackgroundImageMIMEType Specifies the MIME type of the background image.
受保護的欄位靜態成員 BackgroundImageSource Specifies the source of the background image.
受保護的欄位靜態成員 BackgroundImageValue Specifies the value of the background image.
受保護的欄位靜態成員 BackgroundRepeat Specifies how the background image should repeat to fill the available space
受保護的欄位靜態成員 BorderColor Specifies the color of the border if not set for any particular border.
受保護的欄位靜態成員 BorderColorBottom Specifies the color of the bottom border.
受保護的欄位靜態成員 BorderColorLeft Specifies the color of the left border.
受保護的欄位靜態成員 BorderColorRight Specifies the color of the right border.
受保護的欄位靜態成員 BorderColorTop Specifies the color of the top border.
受保護的欄位靜態成員 BorderStyle Specifies the style of the border if not set for any particular border.
受保護的欄位靜態成員 BorderStyleBottom Specifies the style of the bottom border.
受保護的欄位靜態成員 BorderStyleLeft Specifies the style of the left border.
受保護的欄位靜態成員 BorderStyleRight Specifies the style of the right border.
受保護的欄位靜態成員 BorderStyleTop Specifies the style of the top border.
受保護的欄位靜態成員 BorderWidth Specifies the width of the border, if not set for any particular border.
受保護的欄位靜態成員 BorderWidthBottom Specifies the width of the bottom border.
受保護的欄位靜態成員 BorderWidthLeft Specifies the width of the left border.
受保護的欄位靜態成員 BorderWidthRight Specifies the width of the right border.
受保護的欄位靜態成員 BorderWidthTop Specifies the width of the top border.
受保護的欄位靜態成員 Calendar Specifies the calendar to use for formatting dates.
受保護的欄位靜態成員 Color Specifies the foreground color.
受保護的欄位靜態成員 CurrencyLanguage
受保護的欄位靜態成員 Direction Specifies whether text is written left-to-right or right-to-left and whether matrixes grow to the right (headers on the left) or left (headers on the right).
受保護的欄位靜態成員 FontFamily Specifies the name of the font family.
受保護的欄位靜態成員 FontSize Specifies the font size.
受保護的欄位靜態成員 FontStyle Specifies the font style.
受保護的欄位靜態成員 FontWeight Specifies the font weight.
受保護的欄位靜態成員 Format Specifies the .NET Framework formatting string.
受保護的欄位靜態成員 Language Specifies the primary language of the text.
受保護的欄位靜態成員 LineHeight Specifies the height of a line of text.
受保護的欄位 m_isCustomControlGenerated 基礎結構。Specifies whether control is a custom control.
受保護的欄位 m_nonSharedProperties 基礎結構。Specifies the style properties that are different for each for each report item (due to expressions).
受保護的欄位 m_sharedProperties 基礎結構。Specifies the properties shared by all report items derived from the same report item in the definition.
受保護的欄位靜態成員 NumeralLanguage Specifies the digit format to use as described by its primary language.
受保護的欄位靜態成員 NumeralVariant Specifies the variant of the digit format to use.
受保護的欄位靜態成員 PaddingBottom Specifies the padding below an object.
受保護的欄位靜態成員 PaddingLeft Specifies the padding to the left of an object.
受保護的欄位靜態成員 PaddingRight Specifies the padding to the right of an object.
受保護的欄位靜態成員 PaddingTop Specifies the padding above an object.
受保護的欄位靜態成員 StyleAttributeCount Specifies the number of style attributes.
受保護的欄位靜態成員 TextAlign Specifies the horizontal alignment of text.
受保護的欄位靜態成員 TextDecoration Specifies the text formatting.
受保護的欄位靜態成員 UnicodeBiDi Specifies the level of embedding with respect to the bidirectional algorithm.
受保護的欄位靜態成員 VerticalAlign Specifies the vertical alignment of the text.
受保護的欄位靜態成員 WritingMode Specifies the writing mode for the text.

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.ReportingServices.ReportRendering 命名空間