Class RichTextEditorPasteCleanupSettingsBuilder
Inheritance
System.Object
RichTextEditorPasteCleanupSettingsBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class RichTextEditorPasteCleanupSettingsBuilder : ControlBuilder
Constructors
RichTextEditorPasteCleanupSettingsBuilder()
Declaration
public RichTextEditorPasteCleanupSettingsBuilder()
RichTextEditorPasteCleanupSettingsBuilder(RichTextEditorPasteCleanupSettings)
Declaration
public RichTextEditorPasteCleanupSettingsBuilder(RichTextEditorPasteCleanupSettings model)
Parameters
Methods
AllowedStyleProps(String[])
Specifies the allowed style properties when pasting in RichTextEditor.
Declaration
public RichTextEditorPasteCleanupSettingsBuilder AllowedStyleProps(string[] value)
Parameters
Type |
Name |
Description |
System.String[] |
value |
|
Returns
DeniedAttrs(String[])
Specifies the attributes to restrict when pasting in RichTextEditor.
Declaration
public RichTextEditorPasteCleanupSettingsBuilder DeniedAttrs(string[] value)
Parameters
Type |
Name |
Description |
System.String[] |
value |
|
Returns
DeniedTags(String[])
Specifies the tags to restrict when pasting in RichTextEditor.
Declaration
public RichTextEditorPasteCleanupSettingsBuilder DeniedTags(string[] value)
Parameters
Type |
Name |
Description |
System.String[] |
value |
|
Returns
KeepFormat(Boolean)
Specifies whether to keep or remove the format when pasting in RichTextEditor.
Declaration
public RichTextEditorPasteCleanupSettingsBuilder KeepFormat(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
PlainText(Boolean)
Specifies whether to paste as plain text or not in RichTextEditor.
Declaration
public RichTextEditorPasteCleanupSettingsBuilder PlainText(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
Prompt(Boolean)
Specifies whether to enable the prompt for paste in RichTextEditor.
Declaration
public RichTextEditorPasteCleanupSettingsBuilder Prompt(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns