alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class FocusEventArgs

    Represents the event arguments for focus events in the SfBlockEditor component.

    Inheritance
    object
    FocusEventArgs
    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 class FocusEventArgs
    Remarks

    This event is triggered when a block or the block editor gains focus, such as when the user clicks inside the editor or selects a block.

    It provides information about the block that received focus and any current text selection.

    Constructors

    FocusEventArgs()

    Declaration
    public FocusEventArgs()

    Properties

    BlockID

    Gets or sets the index of the block that has focus or selection.

    Declaration
    public string BlockID { get; set; }
    Property Value
    Type Description
    string

    An int representing the index of the currently focused block.

    Remarks

    This can be used to identify which block in the editor currently has the user's focus.

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