alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class BlockSettings

    Abstract base class for all block settings types in the BlockEditor. Derive specific block settings (e.g., ParagraphBlockSettings) from this class.

    Inheritance
    object
    BlockSettings
    BulletListBlockSettings
    ChecklistBlockSettings
    ChildrenBlockSettings
    DividerBlockSettings
    HeadingBlockSettings
    ImageBlockSettings
    NumberedListBlockSettings
    ParagraphBlockSettings
    QuoteBlockSettings
    TableBlockSettings
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.BlockEditor
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public abstract class BlockSettings
    Remarks

    It provides a common type for polymorphic block properties. When assigning Properties in BlockModel, use one of the derived classes based on BlockType:

    BlockTypeSettings Type
    BlockType.ParagraphParagraphBlockSettings
    BlockType.HeadingHeadingBlockSettings
    BlockType.ChecklistChecklistBlockSettings
    BlockType.BulletListBulletListBlockSettings
    BlockType.NumberedListNumberedListBlockSettings
    BlockType.DividerDividerBlockSettings
    Examples
    // Creating paragraph block settings
    var paragraphSettings = new ParagraphBlockSettings { Placeholder = "Type here..." };

    Constructors

    BlockSettings()

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