Share via


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