StyleBase Class

Definition

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

public ref class StyleBase abstract
public abstract class StyleBase
type StyleBase = class
Public MustInherit Class StyleBase
Inheritance
StyleBase
Derived

Constructors

StyleBase()

Initializes a new instance of the StyleBase class.

Fields

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

Specifies the currency language.

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.

Properties

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.

Methods

ContainStyleProperty(String)

Indicates whether this collection contains a named style property.

GetEnumerator()

Gets an IEnumerator interface that allows you to iterate through the collection.

SetStyle(Style+StyleName, Object, Boolean)

Sets a specified style property within a style collection to the given value.

Applies to