alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class ShortcutKeys

    Defines the ShortcutKeys for Rich Text Editor operations.

    Inheritance
    object
    ShortcutKeys
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.RichTextEditor
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ShortcutKeys
    Remarks

    This class contains key bindings that provide quick access to commonly used editor functions, enhancing productivity through keyboard shortcuts.

    Constructors

    ShortcutKeys()

    Declaration
    public ShortcutKeys()

    Properties

    Bold

    Defines the shortcut key for bold text.

    Declaration
    [JsonPropertyName("bold")]
    public string Bold { get; set; }
    Property Value
    Type Description
    string

    A keystroke string for bolding, default is "ctrl+b".

    Remarks

    BoldKey helps quickly emphasize important text, saving time during styling.

    ClearFormat

    Defines the shortcut key for clearing formatting.

    Declaration
    [JsonPropertyName("clear-format")]
    public string ClearFormat { get; set; }
    Property Value
    Type Description
    string

    A clear format command, default is "ctrl+shift+r".

    Remarks

    ClearFormat swiftly removes all applied text styles, reverting to default settings.

    Copy

    Defines the shortcut key for the copy action.

    Declaration
    [JsonPropertyName("copy")]
    public string Copy { get; set; }
    Property Value
    Type Description
    string

    A copy activation string, default is "ctrl+c".

    Remarks

    Copy enhances data replication within or between documents efficiently.

    Cut

    Defines the shortcut key for the cut action.

    Declaration
    [JsonPropertyName("cut")]
    public string Cut { get; set; }
    Property Value
    Type Description
    string

    A cut instruction string, default is "ctrl+x".

    Remarks

    Cut removes content from the current doc with the potential for subsequent pasting.

    FormatCopy

    Defines the shortcut key for copying formatting with the Format Painter.

    Declaration
    [JsonPropertyName("format-copy")]
    public string? FormatCopy { get; set; }
    Property Value
    Type Description
    string

    A command string for format copying, default is "alt+shift+c".

    Remarks

    FormatCopy allows users to capture formatting from selected text to apply elsewhere.

    FormatPaste

    Defines the shortcut key for pasting formatting with the Format Painter.

    Declaration
    [JsonPropertyName("format-paste")]
    public string? FormatPaste { get; set; }
    Property Value
    Type Description
    string

    A command string for format pasting, default is "alt+shift+v".

    Remarks

    FormatPaste applies previously copied formatting to currently selected text.

    FullScreen

    Defines the shortcut key for entering full-screen mode.

    Declaration
    [JsonPropertyName("full-screen")]
    public string FullScreen { get; set; }
    Property Value
    Type Description
    string

    A full-screen toggle command, default is "ctrl+shift+f".

    Remarks

    FullScreenKey enhances the user experience by maximizing the editor view for focused writing.

    HtmlSource

    Defines the shortcut key for viewing HTML source.

    Declaration
    [JsonPropertyName("html-source")]
    public string HtmlSource { get; set; }
    Property Value
    Type Description
    string

    An HTML view keystroke set, default is "ctrl+shift+h".

    Remarks

    HtmlSourceKey allows developers and users to see and edit the HTML underlying the content.

    Indents

    Defines the shortcut key for indenting text.

    Declaration
    [JsonPropertyName("indents")]
    public string Indents { get; set; }
    Property Value
    Type Description
    string

    An indent addition string, default is "ctrl+]".

    Remarks

    Indents adjust section positioning for clear visual hierarchy or layout enhancement.

    InsertImage

    Defines the shortcut key for inserting an image.

    Declaration
    [JsonPropertyName("insert-image")]
    public string InsertImage { get; set; }
    Property Value
    Type Description
    string

    A keystroke combination presented as a string, default is "ctrl+shift+i".

    Remarks

    InsertImage provides rapid access to image upload functions, streamlining media integration.

    InsertLink

    Defines the shortcut key for inserting a link.

    Declaration
    [JsonPropertyName("insert-link")]
    public string InsertLink { get; set; }
    Property Value
    Type Description
    string

    A string pattern identifying the key combination, default is "ctrl+k".

    Remarks

    InsertLink accelerates the hyperlinking process, allowing quick access to link dialogs.

    InsertTable

    Defines the shortcut key for inserting a table.

    Declaration
    [JsonPropertyName("insert-table")]
    public string InsertTable { get; set; }
    Property Value
    Type Description
    string

    A defined key command, default is "ctrl+shift+e".

    Remarks

    InsertTable facilitates prompt table generation, enhancing content organization productivity.

    Italic

    Defines the shortcut key for italic text.

    Declaration
    [JsonPropertyName("italic")]
    public string Italic { get; set; }
    Property Value
    Type Description
    string

    An italic keystroke sequence, default is "ctrl+i".

    Remarks

    ItalicKey provides immediate text emphasis, suitable for citations or special terms.

    JustifyCenter

    Defines the shortcut key for center justification of text.

    Declaration
    [JsonPropertyName("justify-center")]
    public string JustifyCenter { get; set; }
    Property Value
    Type Description
    string

    A command string for center justification, default is "ctrl+e".

    Remarks

    JustifyCenter aligns text centrally within its container, providing aesthetic balance.

    JustifyFull

    Defines the shortcut key for full justification of text.

    Declaration
    [JsonPropertyName("justify-full")]
    public string JustifyFull { get; set; }
    Property Value
    Type Description
    string

    A keystroke for full justification, default is "ctrl+j".

    Remarks

    JustifyFull spreads text evenly across lines, ensuring a professional appearance.

    JustifyLeft

    Defines the shortcut key for left justification of text.

    Declaration
    [JsonPropertyName("justify-left")]
    public string JustifyLeft { get; set; }
    Property Value
    Type Description
    string

    A left align command, default is "ctrl+l".

    Remarks

    JustifyLeft aligns content to the left, a standard in most paragraph formatting styles.

    JustifyRight

    Defines the shortcut key for right justification of text.

    Declaration
    [JsonPropertyName("justify-right")]
    public string JustifyRight { get; set; }
    Property Value
    Type Description
    string

    A keystroke for right alignment, default is "ctrl+r".

    Remarks

    JustifyRight is useful for aligning numbers, dates, or for creating stylized documents.

    LowerCase

    Defines the shortcut key for changing text to lowercase.

    Declaration
    [JsonPropertyName("lowercase")]
    public string LowerCase { get; set; }
    Property Value
    Type Description
    string

    A lowercase directive sequence, default is "ctrl+shift+l".

    Remarks

    LowerCaseKey expedites text case adjustments toward lowercase for standardized formats.

    OrderedList

    Defines the shortcut key for creating an ordered list.

    Declaration
    [JsonPropertyName("ordered-list")]
    public string OrderedList { get; set; }
    Property Value
    Type Description
    string

    A keystroke sequence for ordered lists, default is "ctrl+shift+o".

    Remarks

    OrderedListKey quickly transforms selected text into a numbered list for clarity and organization.

    Outdents

    Defines the shortcut key for outdenting text.

    Declaration
    [JsonPropertyName("outdents")]
    public string Outdents { get; set; }
    Property Value
    Type Description
    string

    An outdumpedic setting, default is "ctrl+[".

    Remarks

    Outdents reverse indentation for alignment or design recalibration.

    Paste

    Defines the shortcut key for the paste action.

    Declaration
    [JsonPropertyName("paste")]
    public string Paste { get; set; }
    Property Value
    Type Description
    string

    A paste trigger string, default is "ctrl+v".

    Remarks

    Paste places copied or cut content back into the document, minimizing interruption.

    Redo

    Defines the shortcut key for redo operation.

    Declaration
    [JsonPropertyName("redo")]
    public string Redo { get; set; }
    Property Value
    Type Description
    string

    A command string for redo, default is "ctrl+y".

    Remarks

    Redo reinstates actions that were previously undone, maintaining continuous editing flow.

    StrikeThrough

    Defines the shortcut key for striking through text.

    Declaration
    [JsonPropertyName("strikethrough")]
    public string StrikeThrough { get; set; }
    Property Value
    Type Description
    string

    A strikethrough activation command, default is "ctrl+shift+s".

    Remarks

    StrikeThroughKey allows for fast marking of deletions or alternate text phrasing.

    SubScript

    Defines the shortcut key for subscript text.

    Declaration
    [JsonPropertyName("subscript")]
    public string SubScript { get; set; }
    Property Value
    Type Description
    string

    A subscript activation sequence, default is "ctrl+=".

    Remarks

    SubScriptKey lowers text for footnotes, chemical formulas, or typographic clarity.

    SuperScript

    Defines the shortcut key for superscript text.

    Declaration
    [JsonPropertyName("superscript")]
    public string SuperScript { get; set; }
    Property Value
    Type Description
    string

    A command for superscript, default is "ctrl+shift+=".

    Remarks

    SuperScriptKey quickly elevates text for scientific, mathematical, or typographic needs.

    ToolbarFocus

    Defines the shortcut key for focusing the toolbar.

    Declaration
    [JsonPropertyName("toolbar-focus")]
    public string ToolbarFocus { get; set; }
    Property Value
    Type Description
    string

    A string representing the keyboard command, default is "alt+f10".

    Remarks

    ToolbarFocus enables users to switch their focus to the editor toolbar swiftly to perform formatting or other tasks.

    Underline

    Defines the shortcut key for underline text.

    Declaration
    [JsonPropertyName("underline")]
    public string Underline { get; set; }
    Property Value
    Type Description
    string

    An underlining text command, default is "ctrl+u".

    Remarks

    UnderlineKey facilitates swift application of underlines to selected text segments.

    Undo

    Defines the shortcut key for undo operation.

    Declaration
    [JsonPropertyName("undo")]
    public string Undo { get; set; }
    Property Value
    Type Description
    string

    A command string for undo, default is "ctrl+z".

    Remarks

    Undo quickly reverts recent editorial adjustments, supporting iterative enhancement and error correction.

    UnorderedList

    Defines the shortcut key for creating an unordered list.

    Declaration
    [JsonPropertyName("unordered-list")]
    public string UnorderedList { get; set; }
    Property Value
    Type Description
    string

    A shortcut for bullet lists, default is "ctrl+alt+o".

    Remarks

    UnorderedListKey converts text to bulleted format, ideal for lists without a sequence.

    UpperCase

    Defines the shortcut key for changing text to uppercase.

    Declaration
    [JsonPropertyName("uppercase")]
    public string UpperCase { get; set; }
    Property Value
    Type Description
    string

    An uppercase conversion sequence, default is "ctrl+shift+u".

    Remarks

    UpperCaseKey streamlines the transformation of text to uppercase, enhancing readability.

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