.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.v20.1.Core.dll

Declaration

TableConditionalStyle CreateConditionalStyle(
    ConditionalTableStyleFormattingTypes condition
)
Function CreateConditionalStyle(
    condition As ConditionalTableStyleFormattingTypes
) As TableConditionalStyle

Parameters

Name Type Description
condition ConditionalTableStyleFormattingTypes

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

Returns

Type Description
TableConditionalStyle

A TableConditionalStyle object.

Remarks

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