alexa
menu

ASP.NET Core - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class BlockType

    Enum representing the different block types available in the block editor component. Each block type corresponds to a specific content format that can be used to create structured documents.

    Inheritance
    System.Object
    BlockType
    Namespace: Syncfusion.EJ2.BlockEditor
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public sealed class BlockType : Enum

    Fields

    BulletList

    Represents a bullet list block. This block type is used for unordered lists.

    Declaration
    public const BlockType BulletList
    Field Value
    Type
    BlockType

    Callout

    Represents a callout block. This block type is used to highlight important information or warnings.

    Declaration
    public const BlockType Callout
    Field Value
    Type
    BlockType

    Checklist

    Represents a checklist block. This block type is used for creating interactive to-do lists.

    Declaration
    public const BlockType Checklist
    Field Value
    Type
    BlockType

    Code

    Represents a code block. This block type is used to display formatted code with syntax highlighting.

    Declaration
    public const BlockType Code
    Field Value
    Type
    BlockType

    CollapsibleHeading

    Represents a collapsible heading 1 block. This block type is used to display top-level headings that can be expanded or collapsed.

    Declaration
    public const BlockType CollapsibleHeading
    Field Value
    Type
    BlockType

    CollapsibleParagraph

    Represents a collapsible paragraph block. This block type is used to display paragraphs that can be expanded or collapsed.

    Declaration
    public const BlockType CollapsibleParagraph
    Field Value
    Type
    BlockType

    Divider

    Represents a divider block. This block type is used to insert horizontal dividers to separate sections of content.

    Declaration
    public const BlockType Divider
    Field Value
    Type
    BlockType

    Heading

    Represents a heading block. This block type is used for headings such as level 1, 2, 3 or 4.

    Declaration
    public const BlockType Heading
    Field Value
    Type
    BlockType

    Image

    Represents an image block. This block type is used to display images.

    Declaration
    public const BlockType Image
    Field Value
    Type
    BlockType

    NumberedList

    Represents a numbered list block. This block type is used for ordered lists.

    Declaration
    public const BlockType NumberedList
    Field Value
    Type
    BlockType

    Paragraph

    Represents a text block. This block type is used for plain text content.

    Declaration
    public const BlockType Paragraph
    Field Value
    Type
    BlockType

    Quote

    Represents a quote block. This block type is used to display quotations or excerpts from a text.

    Declaration
    public const BlockType Quote
    Field Value
    Type
    BlockType

    Template

    Represents a template block. This block type is used for predefined templates.

    Declaration
    public const BlockType Template
    Field Value
    Type
    BlockType
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved