Back to Devexpress

Style Members

officefileapi-devexpress-dot-spreadsheet-dot-style-dot-underscore-members.md

latest4.1 KB
Original Source

Style Members

A named cell style.

Properties

NameDescription
AlignmentProvides access to cell alignment. Inherited from Formatting.
BordersProvides access to cell borders. Inherited from Formatting.
FillProvides access to cell background. Inherited from Formatting.
FlagsProvides access to flags that control which cell format attributes are specified by the applied cell style and which ones are specified by direct cell formatting. Inherited from Formatting.
FontProvides access to the cell font. Inherited from Formatting.
IsBuiltInIndicates whether the current style is the built-in style.
NameGets the name of the cell style.
NumberFormatSpecifies a number format for a numeric cell value in the invariant culture. Inherited from Formatting.
NumberFormatLocalSpecifies a number format for a numeric cell value based on the current (local) culture. Inherited from Formatting.
ProtectionProvides access to options which are in effect when the worksheet is protected. Inherited from Formatting.

Methods

NameDescription
BeginUpdate()Locks the Formatting object. Prevents visual updates until the EndUpdate method calls. Inherited from Formatting.
CopyFrom(BuiltInStyleId)Duplicates the format settings of the specified built-in style into the current Style instance.
EndUpdate()Unlocks the Formatting object after you call BeginUpdate. It also causes an immediate visual update. Inherited from Formatting.
Equals(Object)Determines whether or not the specified object is equal to the current Formatting instance. Inherited from Formatting.
Reset()Resets the built-in style to its original settings, and resets the Normal style to StyleCollection.DefaultStyle.

See Also

Style Interface

DevExpress.Spreadsheet Namespace