Class PasteSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
PasteSettingsBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class PasteSettingsBuilder : ControlBuilder
Constructors
PasteSettingsBuilder()
Declaration
public PasteSettingsBuilder()
PasteSettingsBuilder(PasteSettings)
Declaration
public PasteSettingsBuilder(PasteSettings 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 PasteSettingsBuilder 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 PasteSettingsBuilder 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 PasteSettingsBuilder 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 PasteSettingsBuilder PlainText(bool value)
Parameters
| Type |
Name |
Description |
| System.Boolean |
value |
|
Returns