共用方式為


Style Class

Definition

Contains information about the style of an object in the report.

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

Fields

cBackgroundColor

A string constant that specifies the name of the style attribute for background color.

(Inherited from StyleBase)
cBackgroundGradientEndColor

A string constant that specifies the name of the style attribute for background gradient end color.

(Inherited from StyleBase)
cBackgroundGradientType

A string constant that specifies the name of the style attribute for background gradient type.

(Inherited from StyleBase)
cBackgroundHatchType

A string constant that specifies the name of the style attribute for background hatch type.

(Inherited from StyleBase)
cBackgroundImage

A string constant that specifies the name of the style attribute for background image.

(Inherited from StyleBase)
cBackgroundImageMIMEType

A string constant that specifies the name of the style attribute for background image MIME type.

(Inherited from StyleBase)
cBackgroundImageSource

A string constant that specifies the name of the style attribute for background image source.

(Inherited from StyleBase)
cBackgroundImageValue

A string constant that specifies the name of the style attribute for background image value.

(Inherited from StyleBase)
cBackgroundRepeat

A string constant that specifies the name of the style attribute for background repeat.

(Inherited from StyleBase)
cBorderColor

A string constant that specifies the name of the style attribute for border color.

(Inherited from StyleBase)
cBorderColorBottom

A string constant that specifies the name of the style attribute for bottom border color.

(Inherited from StyleBase)
cBorderColorLeft

A string constant that specifies the name of the style attribute for left border color.

(Inherited from StyleBase)
cBorderColorRight

A string constant that specifies the name of the style attribute for right border color.

(Inherited from StyleBase)
cBorderColorTop

A string constant that specifies the name of the style attribute for top border color.

(Inherited from StyleBase)
cBorderStyle

A string constant that specifies the name of the style attribute for border style.

(Inherited from StyleBase)
cBorderStyleBottom

A string constant that specifies the name of the style attribute for bottom border style.

(Inherited from StyleBase)
cBorderStyleLeft

A string constant that specifies the name of the style attribute for left border style.

(Inherited from StyleBase)
cBorderStyleRight

A string constant that specifies the name of the style attribute for right border style.

(Inherited from StyleBase)
cBorderStyleTop

A string constant that specifies the name of the style attribute for top border style.

(Inherited from StyleBase)
cBorderWidth

A string constant that specifies the name of the style attribute for border width.

(Inherited from StyleBase)
cBorderWidthBottom

A string constant that specifies the name of the style attribute for bottom border width.

(Inherited from StyleBase)
cBorderWidthLeft

A string constant that specifies the name of the style attribute for left border width.

(Inherited from StyleBase)
cBorderWidthRight

A string constant that specifies the name of the style attribute for right border width.

(Inherited from StyleBase)
cBorderWidthTop

A string constant that specifies the name of the style attribute for top border width.

(Inherited from StyleBase)
cCalendar

A string constant that specifies the name of the style attribute for calendar.

(Inherited from StyleBase)
cColor

A string constant that specifies the name of the style attribute for color.

(Inherited from StyleBase)
cCurrencyLanguage

A string constant that specifies the name of the style attribute for currency language.

(Inherited from StyleBase)
cDirection

A string constant that specifies the name of the style attribute for direction.

(Inherited from StyleBase)
cFontFamily

A string constant that specifies the name of the style attribute for font family.

(Inherited from StyleBase)
cFontSize

A string constant that specifies the name of the style attribute for font size.

(Inherited from StyleBase)
cFontStyle

A string constant that specifies the name of the style attribute for font style.

(Inherited from StyleBase)
cFontWeight

A string constant that specifies the name of the style attribute for font weight.

(Inherited from StyleBase)
cFormat

A string constant that specifies the name of the style attribute for format.

(Inherited from StyleBase)
cLanguage

A string constant that specifies the name of the style attribute for language.

(Inherited from StyleBase)
cLineHeight

A string constant that specifies the name of the style attribute for line height.

(Inherited from StyleBase)
cNumeralLanguage

A string constant that specifies the name of the style attribute for numeral language.

(Inherited from StyleBase)
cNumeralVariant

A string constant that specifies the name of the style attribute for numeral variant.

(Inherited from StyleBase)
cPaddingBottom

A string constant that specifies the name of the style attribute for bottom padding.

(Inherited from StyleBase)
cPaddingLeft

A string constant that specifies the name of the style attribute for left padding.

(Inherited from StyleBase)
cPaddingRight

A string constant that specifies the name of the style attribute for right padding.

(Inherited from StyleBase)
cPaddingTop

A string constant that specifies the name of the style attribute for top padding.

(Inherited from StyleBase)
cPosition

A string constant that specifies the name of the style attribute for position.

(Inherited from StyleBase)
cShadowColor

A string constant that specifies the name of the style attribute for shadow color.

(Inherited from StyleBase)
cShadowOffset

A string constant that specifies the name of the style attribute for shadow offset.

(Inherited from StyleBase)
cTextAlign

A string constant that specifies the name of the style attribute for text alignment.

(Inherited from StyleBase)
cTextDecoration

A string constant that specifies the name of the style attribute for text decoration.

(Inherited from StyleBase)
cTextEffect

A string constant that specifies the name of the style attribute for text effect.

(Inherited from StyleBase)
cTransparentColor

A string constant that specifies the name of the style attribute for transparent color.

(Inherited from StyleBase)
cUnicodeBiDi

A string constant that specifies the name of the style attribute for Unicode bi-directional algorithm.

(Inherited from StyleBase)
cVerticalAlign

A string constant that specifies the name of the style attribute for text vertical alignment.

(Inherited from StyleBase)
cWritingMode

A string constant that specifies the name of the style attribute for text writing mode.

(Inherited from StyleBase)
m_nonSharedStyles

Specifies a list of style attributes that are not shared between instance objects.

(Inherited from StyleBase)
m_sharedStyles

Specifies a list of the styles that are shared between instance objects.

(Inherited from StyleBase)
StyleAttributeCount

Specifies the number of style attributes in the StyleBase type.

(Inherited from StyleBase)

Properties

BackgroundColor

Gets an expression that evaluates to the color of the background.

BackgroundGradientEndColor

Gets an expression that evaluates to the end color for the background gradient.

BackgroundGradientType

Gets an expression that evaluates to the type of background gradient.

BackgroundHatchType

Gets an expression that evaluates to the hatch type.

BackgroundImage

Gets a background image for the object.

Border

Gets the default border properties.

BottomBorder

Gets the properties of the bottom border.

Calendar

Gets an expression that evaluates to the calendar to use for formatting dates.

Color

Gets an expression that evaluates to the foreground color.

CurrencyLanguage

Gets an expression that evaluates to the currency language.

Direction

Gets an expression that evaluates to a value that indicates whether text is written left-to-right or right-to-left.

FontFamily

Gets an expression that evaluates to the name of the font family.

FontSize

Gets an expression that evaluates to the size of the font.

FontStyle

Gets an expression that evaluates to the font style.

FontWeight

Gets an expression that evaluates to the thickness of the font.

Format

Gets an expression that evaluates to a Microsoft .NET Framework formatting string.

Item[StyleAttributeNames]

Gets a style attribute for the specified style.

Language

Gets an expression that evaluates to the primary language of the text.

LeftBorder

Gets the properties of the left border.

LineHeight

Gets an expression that evaluates to the height of a line of text.

NonSharedStyleAttributes

Gets a list of style attributes that are not shared between instance objects.

NumeralLanguage

Gets an expression that evaluates to the digit format to use as described by its primary language. Any language is legal. Default is the Language property.

NumeralVariant

Gets an expression that evaluates to the variant of the digit format to use.

PaddingBottom

Gets an expression that evaluates to the padding between the bottom edge of the report item and its contents.

PaddingLeft

Gets an expression that evaluates to the padding between the left edge of the report item and its contents.

PaddingRight

Gets an expression that evaluates to the padding between the right edge of the report item and its contents.

PaddingTop

Gets an expression that evaluates to the padding between the top edge of the report item and its contents.

RightBorder

Gets the properties of the right border.

ShadowColor

Gets an expression that evaluates to the color of the shadow for the item.

ShadowOffset

Gets an expression that evaluates to the size of the shadow for the item.

SharedStyleAttributes

Gets a list of the styles that are shared between instance objects.

TextAlign

Gets an expression that evaluates to the horizontal alignment of the text.

TextDecoration

Gets an expression that evaluates to the special text formatting.

TextEffect

Gets an expression that evaluates to the effect to apply to the text.

TopBorder

Gets the properties of the top border.

UnicodeBiDi

Gets an expression that evaluates to a value that indicates the level of embedding with respect to the bi-directional algorithm.

VerticalAlign

Gets an expression that evaluates to the vertical alignment of the text.

WritingMode

Gets an expression that evaluates to a value that indicates whether text is written horizontally or vertically.

Methods

IsAvailableStyle(StyleAttributeNames)

Gets a value that indicates whether the specified style is available.

Applies to