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 命名空间