Class FormatPainterParams
Represents the arguments for Format Painter operations.
Inheritance
System.Object
FormatPainterParams
Namespace: Syncfusion.Blazor.RichTextEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class FormatPainterParams : Object
Constructors
FormatPainterParams()
Declaration
public FormatPainterParams()
Properties
Action
Specifies the action to be performed by the Format Painter command.
Declaration
public FormatPainterAction Action { get; set; }
Property Value
Type | Description |
---|---|
FormatPainterAction | One of the FormatPainterAction enumeration values that specifies the Format Painter Action. The default action is CopyFormat. |
Remarks
Specifies the action performed when using the Format Painter command.
Supported actions:
- CopyFormat: Copies the formatting from the selected text.
- PasteFormat: Applies the previously copied formatting to the selected text.
- Escape: Cancels the Format Painter operation.
Options
Provides the configuration options for the Format Painter feature.
Declaration
public FormatPainterOptions Options { get; set; }
Property Value
Type | Description |
---|---|
FormatPainterOptions | An instance of FormatPainterOption containing settings such as AllowedFormats, DeniedFormats, and TooltipText. |