Class PasteCleanupSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
PasteCleanupSettingsBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class PasteCleanupSettingsBuilder : ControlBuilder
Constructors
PasteCleanupSettingsBuilder()
Declaration
public PasteCleanupSettingsBuilder()
PasteCleanupSettingsBuilder(PasteCleanupSettings)
Declaration
public PasteCleanupSettingsBuilder(PasteCleanupSettings model)
Parameters
Methods
AllowedStyles(String[])
Specifies the allowed styles when pasting content.
This property holds an array of styles that can be applied to pasted content.
Declaration
public PasteCleanupSettingsBuilder AllowedStyles(string[] value)
Parameters
| Type |
Name |
Description |
| System.String[] |
value |
|
Returns
Specifies the tags that are denied when pasting content.
This property holds an array of tags that should be removed from pasted content.
Declaration
public PasteCleanupSettingsBuilder DeniedTags(string[] value)
Parameters
| Type |
Name |
Description |
| System.String[] |
value |
|
Returns
Specifies whether to keep the formatting of pasted content.
This property determines if the formatting (e.g., bold, italics) should be preserved.
Declaration
public PasteCleanupSettingsBuilder KeepFormat(bool value)
Parameters
| Type |
Name |
Description |
| System.Boolean |
value |
|
Returns
PlainText(Boolean)
Specifies whether to paste as plain text.
This property removes any formatting from the pasted content and pastes only the raw text.
Declaration
public PasteCleanupSettingsBuilder PlainText(bool value)
Parameters
| Type |
Name |
Description |
| System.Boolean |
value |
|
Returns