MindFusion.Wpf Pack Programmer's Guide
IStyle Members
Properties Methods
 


Represents the style of an element.

The following tables list the members exposed by the IStyle type.

 Public Properties

  Name Description

Background

Gets or sets the background.

BorderBottomBrush

Gets or sets the color of the bottom border.

BorderBottomSize

Gets or sets the thickness of the bottom border.

BorderBottomStyle

Gets or sets the style of the bottom border.

BorderLeftBrush

Gets or sets the color of the left border.

BorderLeftSize

Gets or sets the thickness of the left border.

BorderLeftStyle

Gets or sets the style of the left border.

BorderRightBrush

Gets or sets the color of the right border.

BorderRightSize

Gets or sets the thickness of the right border.

BorderRightStyle

Gets or sets the style of the right border.

BorderTopBrush

Gets or sets the color of the top border.

BorderTopSize

Gets or sets the thickness of the top border.

BorderTopStyle

Gets or sets the style of the top border.

ConditionalFormats

Gets a list with the conditional formats associated with this style.

FontBold

Gets or sets a value indicating whether the element's text is bold.

FontItalic

Gets or sets a value indicating whether the element's text is italic.

FontName

Gets or sets the name of the font of the element's text.

FontSize

Gets or sets the size of the font of the element's text.

FontStrikeout

Gets or sets a value indicating whether the element's text is with a line through the middle.

FontUnderline

Gets or sets a value indicating whether the element's text is underlined.

Format

Gets or sets the format of the element's contents.

HorizontalAlignment

Gets or sets the horizontal alignment of the element's contents.

Id

Gets or sets the style identifier.

Indent

Gets or sets the indentation of the element's text.

Index

Gets or sets the style index.

PaddingBottom

Gets or sets the bottom padding of the element's contents.

PaddingLeft

Gets or sets the left padding of the element's contents.

PaddingRight

Gets or sets the right padding of the element's contents.

PaddingTop

Gets or sets the top padding of the element's contents.

PrimaryDiagonalBrush

Gets or sets the color of the primary diagonal.

PrimaryDiagonalSize

Gets or sets the thickness of the primary diagonal.

PrimaryDiagonalStyle

Gets or sets the style of the primary diagonal.

SecondaryDiagonalBrush

Gets or sets the color of the secondary diagonal.

SecondaryDiagonalSize

Gets or sets the thickness of the secondary diagonal.

SecondaryDiagonalStyle

Gets or sets the style of the secondary diagonal.

TextBrush

Gets or sets the color of the element's text.

Validation

Gets an object that can be used to specify validation rules.

VerticalAlignment

Gets or sets the vertical alignment of the element's contents.

Worksheet

Gets the worksheet this style is associated with.

WrapText

Gets or sets a value indicating whether to wrap the element's text.

 Public Methods

  Name Description

Reset

Resets the style to the default style.

ResetConditionalFormats

Resets the conditional formats associated with this style.

ResetValidation

Resets the validation associated with this style to the default validation.

 See Also

IStyle Interface
MindFusion.Spreadsheet.Wpf Namespace