Udostępnij za pośrednictwem


StyleBase Class

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

Inheritance Hierarchy

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

Namespace:  Microsoft.ReportingServices.ReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)

Syntax

'Declaration
<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public MustInherit Class StyleBase
'Usage
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

The StyleBase type exposes the following members.

Constructors

  Name Description
Protected method StyleBase Initializes a new instance of the StyleBase class.

Top

Properties

  Name Description
Public property Count Gets the number of style properties in the collection.
Protected property IsCustomControl Infrastructure. Gets or sets a value that indicates whether control is a custom control.
Public property Item[Int32] Returns a style at the specified index.
Public property Item[String] Returns a style matching the specified name.
Public property Keys Gets a NameObjectCollectionBase.KeysCollection instance that contains all the keys in the NameObjectCollectionBase instance.
Public property NonSharedProperties Gets or sets the style properties that are different for each for each report item (due to expressions).
Public property SharedProperties Gets or sets the properties shared by all report items derived from the same report item in the definition.

Top

Methods

  Name Description
Public method ContainStyleProperty Indicates whether this collection contains a named style property.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Gets an IEnumerator interface that allows you to iterate through the collection.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SetStyle Sets a specified style property within a style collection to the given value.
Public method ToString (Inherited from Object.)

Top

Fields

  Name Description
Protected fieldStatic member BackgroundColor Specifies the color of the background. If omitted, the background is transparent.
Protected fieldStatic member BackgroundGradientEndColor Specifies the end color for the background gradient.
Protected fieldStatic member BackgroundGradientType Specifies the type of background gradient.
Protected fieldStatic member BackgroundImage Specifies the background image. If omitted, there is no background image.
Protected fieldStatic member BackgroundImageMIMEType Specifies the MIME type of the background image.
Protected fieldStatic member BackgroundImageSource Specifies the source of the background image.
Protected fieldStatic member BackgroundImageValue Specifies the value of the background image.
Protected fieldStatic member BackgroundRepeat Specifies how the background image should repeat to fill the available space
Protected fieldStatic member BorderColor Specifies the color of the border if not set for any particular border.
Protected fieldStatic member BorderColorBottom Specifies the color of the bottom border.
Protected fieldStatic member BorderColorLeft Specifies the color of the left border.
Protected fieldStatic member BorderColorRight Specifies the color of the right border.
Protected fieldStatic member BorderColorTop Specifies the color of the top border.
Protected fieldStatic member BorderStyle Specifies the style of the border if not set for any particular border.
Protected fieldStatic member BorderStyleBottom Specifies the style of the bottom border.
Protected fieldStatic member BorderStyleLeft Specifies the style of the left border.
Protected fieldStatic member BorderStyleRight Specifies the style of the right border.
Protected fieldStatic member BorderStyleTop Specifies the style of the top border.
Protected fieldStatic member BorderWidth Specifies the width of the border, if not set for any particular border.
Protected fieldStatic member BorderWidthBottom Specifies the width of the bottom border.
Protected fieldStatic member BorderWidthLeft Specifies the width of the left border.
Protected fieldStatic member BorderWidthRight Specifies the width of the right border.
Protected fieldStatic member BorderWidthTop Specifies the width of the top border.
Protected fieldStatic member Calendar Specifies the calendar to use for formatting dates.
Protected fieldStatic member Color Specifies the foreground color.
Protected fieldStatic member CurrencyLanguage
Protected fieldStatic member 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).
Protected fieldStatic member FontFamily Specifies the name of the font family.
Protected fieldStatic member FontSize Specifies the font size.
Protected fieldStatic member FontStyle Specifies the font style.
Protected fieldStatic member FontWeight Specifies the font weight.
Protected fieldStatic member Format Specifies the .NET Framework formatting string.
Protected fieldStatic member Language Specifies the primary language of the text.
Protected fieldStatic member LineHeight Specifies the height of a line of text.
Protected field m_isCustomControlGenerated Infrastructure. Specifies whether control is a custom control.
Protected field m_nonSharedProperties Infrastructure. Specifies the style properties that are different for each for each report item (due to expressions).
Protected field m_sharedProperties Infrastructure. Specifies the properties shared by all report items derived from the same report item in the definition.
Protected fieldStatic member NumeralLanguage Specifies the digit format to use as described by its primary language.
Protected fieldStatic member NumeralVariant Specifies the variant of the digit format to use.
Protected fieldStatic member PaddingBottom Specifies the padding below an object.
Protected fieldStatic member PaddingLeft Specifies the padding to the left of an object.
Protected fieldStatic member PaddingRight Specifies the padding to the right of an object.
Protected fieldStatic member PaddingTop Specifies the padding above an object.
Protected fieldStatic member StyleAttributeCount Specifies the number of style attributes.
Protected fieldStatic member TextAlign Specifies the horizontal alignment of text.
Protected fieldStatic member TextDecoration Specifies the text formatting.
Protected fieldStatic member UnicodeBiDi Specifies the level of embedding with respect to the bidirectional algorithm.
Protected fieldStatic member VerticalAlign Specifies the vertical alignment of the text.
Protected fieldStatic member WritingMode Specifies the writing mode for the text.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.ReportingServices.ReportRendering Namespace