The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.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.v19.2.Core.dll

Declaration

TableConditionalStyle CreateConditionalStyle(
    ConditionalTableStyleFormattingTypes condition
)
Function CreateConditionalStyle(
    condition As ConditionalTableStyleFormattingTypes
) As TableConditionalStyle
TableConditionalStyle CreateConditionalStyle(
    ConditionalTableStyleFormattingTypes condition
)
Function CreateConditionalStyle(
    condition As ConditionalTableStyleFormattingTypes
) As TableConditionalStyle
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.

Parameters

Name Type Description
condition ConditionalTableStyleFormattingTypes

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

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.

Returns

Type Description
TableConditionalStyle

A TableConditionalStyle object.

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