alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class CodeBlockCommandArgs

    Represents the arguments required for executing the InsertCodeBlock command in the Rich Text Editor.

    Inheritance
    object
    CodeBlockCommandArgs
    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 CodeBlockCommandArgs
    Remarks

    This class is typically used when inserting a code block programmatically using ExecuteCommandAsync. The Label property defines the display name of the language (e.g., "TypeScript"), while the Language property specifies the language identifier (e.g., "typescript").

    Constructors

    CodeBlockCommandArgs()

    Declaration
    public CodeBlockCommandArgs()

    Properties

    Label

    Gets or sets the display label for the code block language.

    Declaration
    public string Label { get; set; }
    Property Value
    Type
    string

    Language

    Gets or sets the language identifier (e.g., "typescript", "c", "html").

    Declaration
    public string Language { get; set; }
    Property Value
    Type
    string
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved