menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CodeBlockLanguageModel - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class CodeBlockLanguageModel

    Represents a model for configuring supported code block languages in the Rich Text Editor.

    Inheritance
    System.Object
    CodeBlockLanguageModel
    Namespace: Syncfusion.Blazor.RichTextEditor
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class CodeBlockLanguageModel : Object
    Remarks

    Used to populate the code block language selection dropdown in the editor's toolbar.

    Constructors

    CodeBlockLanguageModel()

    Declaration
    public CodeBlockLanguageModel()

    Properties

    Label

    Gets or sets the display label of the language (e.g., "C", "HTML").

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

    Language

    Gets or sets the language identifier used by the syntax highlighter (e.g., "c", "html").

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