共用方式為


StyleBase Class

Definition

Represents the base class for the Style class.

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

Fields

cBackgroundColor

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

cBackgroundGradientEndColor

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

cBackgroundGradientType

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

cBackgroundHatchType

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

cBackgroundImage

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

cBackgroundImageMIMEType

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

cBackgroundImageSource

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

cBackgroundImageValue

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

cBackgroundRepeat

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

cBorderColor

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

cBorderColorBottom

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

cBorderColorLeft

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

cBorderColorRight

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

cBorderColorTop

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

cBorderStyle

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

cBorderStyleBottom

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

cBorderStyleLeft

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

cBorderStyleRight

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

cBorderStyleTop

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

cBorderWidth

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

cBorderWidthBottom

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

cBorderWidthLeft

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

cBorderWidthRight

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

cBorderWidthTop

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

cCalendar

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

cColor

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

cCurrencyLanguage

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

cDirection

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

cFontFamily

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

cFontSize

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

cFontStyle

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

cFontWeight

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

cFormat

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

cLanguage

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

cLineHeight

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

cNumeralLanguage

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

cNumeralVariant

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

cPaddingBottom

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

cPaddingLeft

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

cPaddingRight

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

cPaddingTop

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

cPosition

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

cShadowColor

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

cShadowOffset

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

cTextAlign

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

cTextDecoration

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

cTextEffect

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

cTransparentColor

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

cUnicodeBiDi

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

cVerticalAlign

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

cWritingMode

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

m_nonSharedStyles

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

m_sharedStyles

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

StyleAttributeCount

Specifies the number of style attributes in the StyleBase type.

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.

Language

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

LeftBorder

Gets an expression that evaluates to 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.

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 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.

Applies to