A newer version of this page is available. Switch to the current version.

TableConditionalStyleProperties.CreateConditionalStyle(ConditionalTableStyleFormattingTypes) Method

Creates a table style for the specified table elements and adds it to the collection.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v18.2.Core.dll


TableConditionalStyle CreateConditionalStyle(
    ConditionalTableStyleFormattingTypes condition


Name Type Description
condition ConditionalTableStyleFormattingTypes

A ConditionalTableStyleFormattingTypes enumeration value that specifies table elements to which a style can be applied.


Type Description

A TableConditionalStyle object.


After a conditional style is created, you can access it using the TableStyle.ConditionalStyleProperties property and index notation. The index is the ConditionalTableStyleFormattingTypes enumeration value.

Apply a table style using the Table.Style property. Subsequently, use the Table.TableLook property to selectively apply conditional styles.

See Also