Condividi tramite


Style Class

Definition

Represents a collection of named style properties for a report item. This collection can be accessed by name or index. This class cannot be inherited.

public ref class Style sealed : Microsoft::ReportingServices::ReportRendering::StyleBase
public sealed class Style : Microsoft.ReportingServices.ReportRendering.StyleBase
type Style = class
    inherit StyleBase
Public NotInheritable Class Style
Inherits StyleBase
Inheritance

Constructors

Style()

Initializes a new instance of the Style class.

Fields

BackgroundColor

Specifies the color of the background. If omitted, the background is transparent.

(Inherited from StyleBase)
BackgroundGradientEndColor

Specifies the end color for the background gradient.

(Inherited from StyleBase)
BackgroundGradientType

Specifies the type of background gradient.

(Inherited from StyleBase)
BackgroundImage

Specifies the background image. If omitted, there is no background image.

(Inherited from StyleBase)
BackgroundImageMIMEType

Specifies the MIME type of the background image.

(Inherited from StyleBase)
BackgroundImageSource

Specifies the source of the background image.

(Inherited from StyleBase)
BackgroundImageValue

Specifies the value of the background image.

(Inherited from StyleBase)
BackgroundRepeat

Specifies how the background image should repeat to fill the available space

(Inherited from StyleBase)
BorderColor

Specifies the color of the border if not set for any particular border.

(Inherited from StyleBase)
BorderColorBottom

Specifies the color of the bottom border.

(Inherited from StyleBase)
BorderColorLeft

Specifies the color of the left border.

(Inherited from StyleBase)
BorderColorRight

Specifies the color of the right border.

(Inherited from StyleBase)
BorderColorTop

Specifies the color of the top border.

(Inherited from StyleBase)
BorderStyle

Specifies the style of the border if not set for any particular border.

(Inherited from StyleBase)
BorderStyleBottom

Specifies the style of the bottom border.

(Inherited from StyleBase)
BorderStyleLeft

Specifies the style of the left border.

(Inherited from StyleBase)
BorderStyleRight

Specifies the style of the right border.

(Inherited from StyleBase)
BorderStyleTop

Specifies the style of the top border.

(Inherited from StyleBase)
BorderWidth

Specifies the width of the border, if not set for any particular border.

(Inherited from StyleBase)
BorderWidthBottom

Specifies the width of the bottom border.

(Inherited from StyleBase)
BorderWidthLeft

Specifies the width of the left border.

(Inherited from StyleBase)
BorderWidthRight

Specifies the width of the right border.

(Inherited from StyleBase)
BorderWidthTop

Specifies the width of the top border.

(Inherited from StyleBase)
Calendar

Specifies the calendar to use for formatting dates.

(Inherited from StyleBase)
Color

Specifies the foreground color.

(Inherited from StyleBase)
CurrencyLanguage

Specifies the currency language.

(Inherited from StyleBase)
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).

(Inherited from StyleBase)
FontFamily

Specifies the name of the font family.

(Inherited from StyleBase)
FontSize

Specifies the font size.

(Inherited from StyleBase)
FontStyle

Specifies the font style.

(Inherited from StyleBase)
FontWeight

Specifies the font weight.

(Inherited from StyleBase)
Format

Specifies the .NET Framework formatting string.

(Inherited from StyleBase)
Language

Specifies the primary language of the text.

(Inherited from StyleBase)
LineHeight

Specifies the height of a line of text.

(Inherited from StyleBase)
m_isCustomControlGenerated

Specifies whether control is a custom control.

(Inherited from StyleBase)
m_nonSharedProperties

Specifies the style properties that are different for each for each report item (due to expressions).

(Inherited from StyleBase)
m_sharedProperties

Specifies the properties shared by all report items derived from the same report item in the definition.

(Inherited from StyleBase)
NumeralLanguage

Specifies the digit format to use as described by its primary language.

(Inherited from StyleBase)
NumeralVariant

Specifies the variant of the digit format to use.

(Inherited from StyleBase)
PaddingBottom

Specifies the padding below an object.

(Inherited from StyleBase)
PaddingLeft

Specifies the padding to the left of an object.

(Inherited from StyleBase)
PaddingRight

Specifies the padding to the right of an object.

(Inherited from StyleBase)
PaddingTop

Specifies the padding above an object.

(Inherited from StyleBase)
StyleAttributeCount

Specifies the number of style attributes.

(Inherited from StyleBase)
TextAlign

Specifies the horizontal alignment of text.

(Inherited from StyleBase)
TextDecoration

Specifies the text formatting.

(Inherited from StyleBase)
UnicodeBiDi

Specifies the level of embedding with respect to the bidirectional algorithm.

(Inherited from StyleBase)
VerticalAlign

Specifies the vertical alignment of the text.

(Inherited from StyleBase)
WritingMode

Specifies the writing mode for the text.

(Inherited from StyleBase)

Properties

Count

Number of style properties in the collection.

IsCustomControl

Gets or sets a value that indicates whether control is a custom control.

(Inherited from StyleBase)
Item[Int32]

Returns a style at the specified index.

(Inherited from StyleBase)
Item[String]

Gets the value of the specified style that matches the name given in the styleName parameter. In C#, this property is the indexer for the Style class.

Keys

Gets a NameObjectCollectionBase.KeysCollection instance that contains all the keys in the NameObjectCollectionBase instance.

NonSharedProperties

Gets a StyleProperties collection that contains the properties that may be different for each instance of the report item due to expressions.

SharedProperties

Gets a StyleProperties collection that contains the properties shared by all report item instances that are derived from the same report item in the definition.

Methods

ContainStyleProperty(String)

Indicates whether this collection contains a named style property.

(Inherited from StyleBase)
GetEnumerator()

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

(Inherited from StyleBase)
SetStyle(Style+StyleName, Object, Boolean)

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

(Inherited from StyleBase)

Applies to