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.
Properties
Name | Description | |
---|---|---|
![]() |
Count | Gets the number of style properties in the collection. |
![]() |
IsCustomControl | Infrastructure. |
![]() |
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. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
ContainStyleProperty | Indicates whether this collection contains a named style property. |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetEnumerator | Gets an IEnumerator interface that allows you to iterate through the collection. |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
SetStyle | Sets a specified style property within a style collection to the given value. |
![]() |
ToString | (Inherited from Object.) |
Top
Fields
Name | Description | |
---|---|---|
![]() ![]() |
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 | Infrastructure. |
![]() |
m_nonSharedProperties | Infrastructure. |
![]() |
m_sharedProperties | Infrastructure. |
![]() ![]() |
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. |
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.