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 |