Back to Devexpress

TableStyleCollection.Delete(TableStyle) Method

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-tablestylecollection-dot-delete-x28-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-tablestyle-x29.md

latest1.6 KB
Original Source

TableStyleCollection.Delete(TableStyle) Method

Marks the specified style as deleted, so it can no longer be applied.

Namespace : DevExpress.XtraRichEdit.API.Native

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
void Delete(
    TableStyle style
)
vb
Sub Delete(
    style As TableStyle
)

Parameters

NameTypeDescription
styleTableStyle

A TableStyle to delete.

|

Remarks

A deleted style cannot be applied to a text, nor can it be saved with the document. When trying to apply a deleted style via code, an exception fires.

See Also

IsDeleted

TableStyleCollection Interface

TableStyleCollection Members

DevExpress.XtraRichEdit.API.Native Namespace