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 基础结构。
公共属性 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 Returns style properties that are different for each for each report item (due to expressions).
公共属性 SharedProperties Gets or sets 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 Gets the color of the background. If omitted, the background is transparent.
受保护字段静态成员 BackgroundGradientEndColor Gets the end color for the background gradient.
受保护字段静态成员 BackgroundGradientType Returns the type of background gradient.
受保护字段静态成员 BackgroundImage Gets the background image. If omitted, there is no background image.
受保护字段静态成员 BackgroundImageMIMEType Returns the MIME type of the background image.
受保护字段静态成员 BackgroundImageSource Returns the source of the background image.
受保护字段静态成员 BackgroundImageValue Returns the value of the background image.
受保护字段静态成员 BackgroundRepeat Indicates how the background image should repeat to fill the available space
受保护字段静态成员 BorderColor Returns the color of the border if not set for any particular border.
受保护字段静态成员 BorderColorBottom Returns the color of the bottom border.
受保护字段静态成员 BorderColorLeft Returns the color of the left border.
受保护字段静态成员 BorderColorRight Returns the color of the right border.
受保护字段静态成员 BorderColorTop Returns the color of the top border.
受保护字段静态成员 BorderStyle Returns the style of the border if not set for any particular border.
受保护字段静态成员 BorderStyleBottom Returns the style of the bottom border.
受保护字段静态成员 BorderStyleLeft Returns the style of the left border.
受保护字段静态成员 BorderStyleRight Returns the style of the right border.
受保护字段静态成员 BorderStyleTop Returns the style of the top border.
受保护字段静态成员 BorderWidth Returns the width of the border, if not set for any particular border.
受保护字段静态成员 BorderWidthBottom Returns the width of the bottom border.
受保护字段静态成员 BorderWidthLeft Returns the width of the left border.
受保护字段静态成员 BorderWidthRight Returns the width of the right border.
受保护字段静态成员 BorderWidthTop Returns the width of the top border.
受保护字段静态成员 Calendar Indicates the calendar to use for formatting dates.
受保护字段静态成员 Color Returns the foreground color.
受保护字段静态成员 Direction Indicates 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 Returns the name of the font family.
受保护字段静态成员 FontSize Returns the font size.
受保护字段静态成员 FontStyle Returns the font style.
受保护字段静态成员 FontWeight Returns the font weight.
受保护字段静态成员 Format Returns the .NET Framework formatting string.
受保护字段静态成员 Language Returns the primary language of the text.
受保护字段静态成员 LineHeight Returns the height of a line of text.
受保护字段 m_isCustomControlGenerated 基础结构。
受保护字段 m_nonSharedProperties 基础结构。
受保护字段 m_sharedProperties 基础结构。
受保护字段静态成员 NumeralLanguage Returns the digit format to use as described by its primary language.
受保护字段静态成员 NumeralVariant Returns the variant of the digit format to use.
受保护字段静态成员 PaddingBottom Returns the padding below an object.
受保护字段静态成员 PaddingLeft Returns the padding to the left of an object.
受保护字段静态成员 PaddingRight Returns the padding to the right of an object.
受保护字段静态成员 PaddingTop Returns the padding above an object.
受保护字段静态成员 StyleAttributeCount Returns the number of style attributes.
受保护字段静态成员 TextAlign Returns the horizontal alignment of text.
受保护字段静态成员 TextDecoration Returns the text formatting.
受保护字段静态成员 UnicodeBiDi Indicates the level of embedding with respect to the bidirectional algorithm.
受保护字段静态成员 VerticalAlign Returns the vertical alignment of the text.
受保护字段静态成员 WritingMode Returns the writing mode for the text.

页首

线程安全

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