.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

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