alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Enum FormatPainterAction

    Defines the actions supported by the Format Painter in the SfRichTextEditor.

    Namespace: Syncfusion.Blazor.RichTextEditor
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public enum FormatPainterAction
    Remarks

    These actions specify the behavior for copying, applying, and canceling formatting in the SfRichTextEditor. They help ensure consistent formatting operations within the editor's content.

    Examples
    <SfRichTextEditor>
    <RichTextEditorFormatPainterSettings>
    var options = new FormatPainterParams
    {
    Action = FormatPainterAction.CopyFormat,
    Options = new FormatPainterOptions
    {
    AllowedFormats = "b; em; strong",
    DeniedFormats = "img; a",
    }
    };
    </RichTextEditorFormatPainterSettings>
    </SfRichTextEditor>

    Fields

    Name Description
    CopyFormat

    Copies the formatting from the selected text.

    Escape

    Cancels the Format Painter operation.

    PasteFormat

    Applies the previously copied formatting to the selected text.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved